]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- TZ=GMT for consistent env
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 22 Mar 2011 05:48:38 +0000 (05:48 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 22 Mar 2011 05:48:38 +0000 (05:48 +0000)
Changed files:
    bin/pfa-lintpkg -> 1.13

bin/pfa-lintpkg

index ba9dd16913de43f7324622e7814c854fe9dd5019..f397771b29e93e52134e6b47374fd9426afe0f65 100644 (file)
@@ -150,7 +150,8 @@ class LintPkg:
             cmd = [self._rpmlint, file]
             outfd = open(cachefile, 'w')
             try:
-                rc = subprocess.call(cmd, stdin = subprocess.PIPE, stdout = outfd, stderr = outfd, close_fds = True)
+                env = {'TZ': 'GMT'}
+                rc = subprocess.call(cmd, stdin = subprocess.PIPE, stdout = outfd, stderr = outfd, env = env, close_fds = True)
             except KeyboardInterrupt:
                 os.unlink(cachefile)
                 raise
This page took 0.107963 seconds and 4 git commands to generate.