Commit 8682dc7b authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

Package: use os.getenv instead

parent fa9d3308
......@@ -123,7 +123,7 @@ class Package:
.. note:: To write a file, see the :py:meth:`.write_pkginfo` helper
return PKGINFO_TEMPLATE.render(builduser=os.environ.get('USER', '?'),
return PKGINFO_TEMPLATE.render(builduser=os.getenv('USER', '?'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment