[Git][security-tracker-team/security-tracker][master] bin/contact-maintainers: don't redefine get_maintainers
Emilio Pozuelo Monfort
pochu at debian.org
Thu Aug 6 06:45:09 BST 2020
Emilio Pozuelo Monfort pushed to branch master at Debian Security Tracker / security-tracker
Commits:
f3fe2305 by Emilio Pozuelo Monfort at 2020-08-06T07:40:05+02:00
bin/contact-maintainers: don't redefine get_maintainers
- - - - -
1 changed file:
- bin/contact-maintainers
Changes:
=====================================
bin/contact-maintainers
=====================================
@@ -19,16 +19,14 @@ def get_full_name():
return pwd.getpwuid(os.getuid()).pw_gecos.split(",")[0]
-def get_maintainers(pkg):
- return u"{}@packages.debian.org".format(pkg)
-
-
try:
import rdflib
except ImportError:
warnings.warn("python-rdflib not installed; will fall back to PTS email address")
-else:
+ def get_maintainers(pkg):
+ return u"{}@packages.debian.org".format(pkg)
+else:
def get_maintainers(pkg):
# RDF object and predicate references used on PTS
@@ -74,7 +72,6 @@ else:
return u", ".join(maint)
-
# Parse command line
parser = argparse.ArgumentParser(description="Get in touch with package maintainers")
parser.add_argument("--force", action="store_true", help="Ignore safety checks")
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/f3fe23055acf835b22d10265813d28e0cafb8109
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/f3fe23055acf835b22d10265813d28e0cafb8109
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20200806/dba55fa8/attachment-0001.html>
More information about the debian-security-tracker-commits
mailing list