diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-16 21:23:57 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-16 21:23:57 +0200 |
commit | 110c79ad0637c8e35b18c9ccc201d33d456d5453 (patch) | |
tree | 24b66f84d9502d11b30256e00346218de32e98be /mirrors | |
parent | b158cdedb5510becc39cc4ab9baf6eddb38c8389 (diff) | |
download | archweb-110c79ad0637c8e35b18c9ccc201d33d456d5453.tar.gz archweb-110c79ad0637c8e35b18c9ccc201d33d456d5453.tar.xz |
Small Python convention fixup
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors')
-rw-r--r-- | mirrors/management/commands/mirrorcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/management/commands/mirrorcheck.py b/mirrors/management/commands/mirrorcheck.py index 7bd79c8..8eb8b01 100644 --- a/mirrors/management/commands/mirrorcheck.py +++ b/mirrors/management/commands/mirrorcheck.py @@ -68,7 +68,7 @@ def check_mirror_url(mirror_url): log.last_sync = parsed_time # if we couldn't parse a time, this is a failure - if parsed_time == None: + if parsed_time is None: log.error = "Could not parse time from lastsync" log.is_success = False log.duration = end - start |