Commit Graph

1138 Commits

Author SHA1 Message Date
Jimbo77 edf293e611 reverted commit 31aaf473c8 due to it breaking electrum 2012-08-25 14:11:50 -07:00
Amir Taaki 26c0b786e9 RAII open of wallet file. 2012-08-24 22:02:58 +01:00
Amir Taaki 3d836ebc38 Revert "Don't need two try/catch statments if nothing happens when exception is caught"
This reverts commit 6b86942ccb.
2012-08-24 22:01:08 +01:00
Amir Taaki 5c4be3196a Better looking set_path(wallet_path) method. Flattened function that's easier to read. 2012-08-24 10:34:38 +01:00
Jimbo77 25ad5fcd06 got rid of print_error 2012-08-23 18:38:28 -07:00
Jimbo77 a6239764d2 small cosmetic change 2012-08-23 18:36:40 -07:00
Jimbo77 34a3eea0bf changed imports to fit pep8 styleguide 2012-08-23 18:21:17 -07:00
Jimbo77 2de8df6758 getting rid of another BaseExceptions 2012-08-23 18:17:30 -07:00
Jimbo77 e12699ae75 getting rid of more BaseExceptions 2012-08-23 18:16:27 -07:00
Jimbo77 cdc16acabb changed to more descriptive exception 2012-08-23 18:11:57 -07:00
Jimbo77 6b86942ccb Don't need two try/catch statments if nothing happens when exception is caught 2012-08-23 18:02:55 -07:00
Jimbo77 719b9d7d33 Small cosmetic fix 2012-08-23 18:01:06 -07:00
Jimbo77 407070bba0 Didn't need a seperate variable just for string 2012-08-23 17:59:54 -07:00
Jimbo77 cb67ec4454 changed to more descriptive exception 2012-08-23 17:50:44 -07:00
Jimbo77 47432b32c8 Added more descriptive error if wallet cannot be loaded 2012-08-23 17:44:37 -07:00
Jimbo77 c8f19e1969 removed optparse import statment 2012-08-23 17:07:38 -07:00
Jimbo77 1112348c38 Merge branch 'optparse_upgrade' 2012-08-23 17:05:50 -07:00
Jimbo77 31aaf473c8 upgraded optparse with the newer module argparse. Can't see any problems so far 2012-08-23 17:05:07 -07:00
Amir Taaki 89953895f8 Added explanation to line returning qVariant for future eyes. 2012-08-23 10:09:54 +01:00
Amir Taaki 77b3052f44 (explanation: the value returned is a qVariant not a bool and so needs explicit comparison to work)
Revert "got rid of boolean value comparison using == as stated in pep8 style guide"

This reverts commit 3bd7717038.
2012-08-23 10:07:28 +01:00
Amir Taaki 2b96b6dec1 Unneeded exception raised. sys.exit returns before exception ever gets a chance to be thrown. 2012-08-23 10:06:21 +01:00
Jimbo77 9fc4e1a1b1 changed lookup_rate() to non-public 2012-08-22 20:11:38 -07:00
Jimbo77 3f167cb650 got rid of magic number 2012-08-22 19:50:21 -07:00
Jimbo77 c2713f6089 changed to use built-in list methods 2012-08-22 18:33:55 -07:00
Jimbo77 6122898915 changed to use built-in list methods 2012-08-22 18:33:35 -07:00
Jimbo77 e0d6570a1f created set_quote_currency() docstring 2012-08-22 18:25:38 -07:00
Jimbo77 f8c68fc51e created amount_input_changed() docstring 2012-08-22 18:22:56 -07:00
Jimbo77 f2277adf10 created mousePressedEvents() and se_balance_text() docstrings 2012-08-22 18:07:35 -07:00
Jimbo77 3bd7717038 got rid of boolean value comparison using == as stated in pep8 style guide 2012-08-22 17:50:54 -07:00
Jimbo77 9f4f7ee3c6 created docstring for set_button_amount() 2012-08-22 17:45:19 -07:00
Jimbo77 fac2bc7387 updated create_quote_text() docstring 2012-08-22 17:30:59 -07:00
Jimbo77 36e250d3ab created create_quote_text() docstring 2012-08-22 17:26:50 -07:00
Jimbo77 e34243d778 created set_balance() docstring 2012-08-22 17:20:42 -07:00
Jimbo77 62ec74c010 created docstring for expand() 2012-08-22 16:35:34 -07:00
Jimbo77 fedcd63742 Merge branch 'master' of https://github.com/spesmilo/electrum 2012-08-22 12:25:47 -07:00
Jimbo77 990547a06c changed print_error to NameError exception to reduce coupling 2012-08-22 12:01:49 -07:00
Jimbo77 3e89b65025 another small toolkit comment 2012-08-22 11:53:31 -07:00
Amir Taaki 943bcd0c84 Use self.close instead of sys.exit (self.close() is the proper Qt method :) 2012-08-22 19:41:06 +01:00
Jimbo77 434ef95d65 small comment explaining gui importation section of electrum script 2012-08-22 11:36:04 -07:00
Jimbo77 b027678d0e created several more docstrings in miniActuator 2012-08-21 23:34:12 -07:00
Jimbo77 69110160ac created docstring for miniActuator 2012-08-21 23:17:48 -07:00
Jimbo77 deb29affc5 created load_theme() docstring 2012-08-21 22:43:35 -07:00
Jimbo77 74cea9b709 Created docstring for miniActuator __init__() 2012-08-21 22:36:15 -07:00
Jimbo77 d76a85acff added quit functionality to menubar in lite gui 2012-08-21 22:21:28 -07:00
Amir Taaki e28d0e3288 Revert "changed electrum logo to noface."
This reverts commit 3ee35acc27.
2012-08-20 16:10:36 +01:00
Amir Taaki 02dd51cbba untested hotfix for copying data/ to system wide local data dir. 2012-08-20 10:25:08 +01:00
Amir Taaki c9ed01e90b bugfix: wrong indentation level for prompt_password. 2012-08-20 10:12:16 +01:00
Amir Taaki 2598e89d00 More Pythonics util.print_error 2012-08-20 10:11:23 +01:00
Jimbo77 d66673eca2 more print_errors() deleted 2012-08-19 19:59:05 -07:00
Jimbo77 66ede2e03e created docstring for local_data_dir() 2012-08-19 18:28:17 -07:00