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
commit7b8b1ffd7374ca4a98dbf6e756bf97861b2182c1 (patch)
treeba6ae076648f5bd9da32e2c06cf003773d76d908 /bin/tracker_service.py
parent0ffc93107fd5d29385f890d2705022ffdecb2e9f (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