summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apkkit/base/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apkkit/base/package.py b/apkkit/base/package.py
index 9985e6b..15ecb2c 100644
--- a/apkkit/base/package.py
+++ b/apkkit/base/package.py
@@ -123,7 +123,7 @@ class Package:
.. note:: To write a file, see the :py:meth:`.write_pkginfo` helper
method.
"""
- return PKGINFO_TEMPLATE.render(builduser=os.environ.get('USER', '?'),
+ return PKGINFO_TEMPLATE.render(builduser=os.getenv('USER', '?'),
buildhost=os.uname().nodename,
package=self)