For consistency, just use os.environ.
authorZac Medico <zmedico@gentoo.org>
Tue, 16 Jan 2007 02:30:51 +0000 (02:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 16 Jan 2007 02:30:51 +0000 (02:30 -0000)
svn path=/main/trunk/; revision=5667

bin/repoman

index 6db67a16d68629e5842128edef9b477a1967261d..d609e166d52e26c009a365c7be3a7062f5fb21c8 100755 (executable)
@@ -1622,7 +1622,7 @@ else:
                else:
                        retval = spawn(["/usr/bin/cvs", "-q", "commit",
                                "-F", commitmessagefile] + myfiles,
-                               env=repoman_settings.environ())
+                               env=os.environ)
                        if retval:
                                print "!!! Exiting on cvs (shell) error code:",retval
                                sys.exit(retval)