Author: andar
Revision: 5101
Log:
Fix some typos
Diff:
Modified: trunk/deluge/ui/ui.py
===================================================================
--- trunk/deluge/ui/ui.py 2009-04-20 18:11:22 UTC (rev 5100)
+++ trunk/deluge/ui/ui.py 2009-04-20 19:20:33 UTC (rev 5101)
@@ -42,7 +42,7 @@
self.__parser = OptionParser(version=deluge.common.get_version())
- group = OptionGroup(self.parser, "Common Options")
+ group = OptionGroup(self.__parser, "Common Options")
group.add_option("-c", "--config", dest="config",
help="Set the config folder location", action="store", type="str")
group.add_option("-l", "--logfile", dest="logfile",
@@ -53,7 +53,7 @@
help="Set the log level: none, info, warning, error, critical,
debug", action="store", type="str")
group.add_option("-q", "--quiet", dest="quiet",
help="Sets the log level to 'none', this is the same as `-L
none`", action="store_true", default=False)
- self.parser.add_option_group(group)
+ self.__parser.add_option_group(group)
@property
def name(self):
@@ -72,7 +72,7 @@
return self._args
def start(self):
- (self.__options, self.__args) = self.parser.parse_args()
+ (self.__options, self.__args) = self.__parser.parse_args()
class UI:
def __init__(self, options, args, ui_args):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---