summaryrefslogtreecommitdiffstats
path: root/bin/tracker_service.py
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2018-06-18 17:11:31 +1000
committerBrian May <brian@linuxpenguins.xyz>2018-07-15 09:03:43 +1000
commitf2da53c25b1bf917958e01af398faf03d09678c6 (patch)
treeec7a234cb7e01d88d0f43fa6e51133523c828dec /bin/tracker_service.py
parentdee0f0f64caeb15bd25650017b8e04a3c2894403 (diff)
Replace <> with != for Python 3.6 compatibility
Diffstat (limited to 'bin/tracker_service.py')
-rwxr-xr-xbin/tracker_service.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/tracker_service.py b/bin/tracker_service.py
index 38e01022ae..b6eb166ca0 100755
--- a/bin/tracker_service.py
+++ b/bin/tracker_service.py
@@ -350,7 +350,7 @@ data source.""")],
return RedirectResult(self.url_cve(url, name),
permanent=False)
return self.page_not_found(url, name)
- if bug.name <> name or redirect:
+ if bug.name != name or redirect:
# Show the normalized bug name in the browser address bar.
return RedirectResult(url.scriptRelativeFull(bug.name))
@@ -446,7 +446,7 @@ data source.""")],
# for (release, status, reason) in bug.getStatus(cursor):
# if status == 'undetermined':
# reason = self.make_purple(reason)
-# elif status <> 'fixed':
+# elif status != 'fixed':
# reason = self.make_red(reason)
# yield B('Debian/%s' % release), reason
@@ -721,7 +721,7 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
else:
old_pkg_name = pkg_name
title = None
- if archive <> 'main':
+ if archive != 'main':
title = "%s (%s)" % (pkg_name, archive)
if remote is None:
@@ -781,7 +781,7 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
else:
old_pkg_name = pkg_name
title = None
- if archive <> 'main':
+ if archive != 'main':
title = "%s (%s)" % (pkg_name, archive)
if remote is None:
@@ -841,7 +841,7 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
else:
old_pkg_name = pkg_name
title = None
- if section <> 'main':
+ if section != 'main':
title = "%s (%s)" % (pkg_name, section)
if remote is None:
@@ -931,7 +931,7 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
title = None
migration = A(self.url_testing_status(url, pkg_name),
"check")
- if archive <> 'main':
+ if archive != 'main':
title = "%s (%s)" % (pkg_name, archive)
if remote is None:

© 2014-2024 Faster IT GmbH | imprint | privacy policy