diff options
author | Dan McGee <dan@archlinux.org> | 2013-04-17 05:12:01 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-04-17 05:12:01 +0200 |
commit | b7b24740640e24883cd17fd683e1d465fbb343f8 (patch) | |
tree | 0a8a4fdf23f3a3b7f0551e859c36c23e3afe212f /devel/management | |
parent | 31d39e75eea7fb6cdf3bb8bfd8b490d45de04ee9 (diff) | |
download | archweb-b7b24740640e24883cd17fd683e1d465fbb343f8.tar.gz archweb-b7b24740640e24883cd17fd683e1d465fbb343f8.tar.xz |
Various minor code cleanups and fixes
Most of these were suggested by PyCharm, and include everything from
little syntax issues and other bad smells to dead or bad code.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management')
-rw-r--r-- | devel/management/commands/pgp_import.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/management/commands/pgp_import.py b/devel/management/commands/pgp_import.py index 10e6cfc..b1f29d7 100644 --- a/devel/management/commands/pgp_import.py +++ b/devel/management/commands/pgp_import.py @@ -95,6 +95,7 @@ def parse_keydata(data): # parse all of the output from our successful GPG command logger.info("parsing command output") + node = None for line in data.split('\n'): parts = line.split(':') if parts[0] == 'pub': |