mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
syncpackage: Fix reading of environment variables.
This commit is contained in:
parent
3bccd17b81
commit
fffcab6392
@ -455,7 +455,7 @@ if __name__ == "__main__":
|
||||
|
||||
if options.uploader_name is None:
|
||||
if "DEBFULLNAME" in os.environ:
|
||||
options.uploader_name = ["DEBFULLNAME"]
|
||||
options.uploader_name = os.environ["DEBFULLNAME"]
|
||||
else:
|
||||
print >> sys.stderr, ("%s: Error: No uploader name specified. You "
|
||||
"must pass the --uploader-name option or set "
|
||||
@ -465,7 +465,7 @@ if __name__ == "__main__":
|
||||
|
||||
if options.uploader_email is None:
|
||||
if "DEBEMAIL" in os.environ:
|
||||
options.uploader_email = ["DEBEMAIL"]
|
||||
options.uploader_email = os.environ["DEBEMAIL"]
|
||||
else:
|
||||
print >> sys.stderr, ("%s: Error: No uploader email address "
|
||||
"specified. You must pass the "
|
||||
|
Loading…
x
Reference in New Issue
Block a user