From e3dea5ee8af8cf42376fb1abef488b686a459c66 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 20 Apr 2009 19:20:33 +0000 Subject: [PATCH] Fix some typos --- deluge/ui/ui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deluge/ui/ui.py b/deluge/ui/ui.py index 821c08da8..fdf929ab8 100644 --- a/deluge/ui/ui.py +++ b/deluge/ui/ui.py @@ -42,7 +42,7 @@ class _UI(object): 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 @@ class _UI(object): 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 @@ class _UI(object): 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):