[PATCH] Handle pwd module ImportError on Windows
Oleg Neumyvakin
oneumyvakin at gmail.com
Thu Sep 24 16:41:02 UTC 2015
Hi,
diff --git "a/~/python-debian/lib/debian/changelog-ad5e3cb-left.py"
"b/~/python-debian/lib/debian/changelog.py"
index d62b392..6978dd0 100644
--- "a/~/python-debian/lib/debian/changelog-ad5e3cb-left.py"
+++ "b/~/python-debian/lib/debian/changelog.py"
@@ -26,7 +26,10 @@
from __future__ import absolute_import
import os
-import pwd
+try:
+ import pwd
+except ImportError:
+ pwd = None
import re
import socket
import warnings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20150924/cfaf7d01/attachment.html>
More information about the pkg-python-debian-maint
mailing list