Lamden / saffron

Easily deployed and managed private blockchains for enterprise and development use.
GNU General Public License v3.0
45 stars 6 forks source link

Typo: Exepction() --> Exception() in contracts.py #62

Closed cclauss closed 4 years ago

cclauss commented 6 years ago

flake8 testing of https://github.com/lamden/saffron on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./docker/docker_lamden_api/api.py:42:29: E999 SyntaxError: invalid syntax
        except HTTPException, e:
                            ^
./saffron/accounts.py:26:6: F821 undefined name 'database'
    a = database.init_account(name=name, address=address)
     ^
./saffron/contracts.py:113:10: F821 undefined name 'Exepction'
            raise Exepction('unable to unlock account')
         ^
./saffron/database.py:69:16: F821 undefined name 'Account'
        return Account(name=name, address=address)
               ^
1     E999 SyntaxError: invalid syntax
3     F821 undefined name 'database'
4