diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2010-02-17 22:08:49 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2010-02-17 22:41:11 +0100 |
commit | fd91a63d0a91a6d232f9345ae247d76d84e1a1a6 (patch) | |
tree | b5c8ad8639b558ae8ddf06fd5916573bd659ac78 /layman/config.py | |
parent | e404a75383b8b70e8d39f419ed77cbcc75918747 (diff) | |
download | layman-fd91a63d0a91a6d232f9345ae247d76d84e1a1a6.tar.gz layman-fd91a63d0a91a6d232f9345ae247d76d84e1a1a6.tar.bz2 layman-fd91a63d0a91a6d232f9345ae247d76d84e1a1a6.zip |
pylint: Remove unused variable
Diffstat (limited to 'layman/config.py')
-rw-r--r-- | layman/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layman/config.py b/layman/config.py index a66ca25..bbafba3 100644 --- a/layman/config.py +++ b/layman/config.py @@ -236,7 +236,7 @@ class Config(object): # Parse the command line first since we need to get the config # file option. - (self.options, args) = self.parser.parse_args() + self.options = self.parser.parse_args()[0] # handle debugging OUT.cli_handle(self.options) @@ -314,7 +314,7 @@ class Config(object): OUT.debug('Retrieving keys', 8) - keys += [name for name, value in self.config.items('MAIN') + keys += [name for name, _ in self.config.items('MAIN') if not name in keys] OUT.debug('Retrieving keys', 8) |