| |
@@ -62,7 +62,7 @@
|
| |
|
| |
# Look for configuration in the local git configuration
|
| |
proc = subprocess.Popen('git rev-parse --git-dir',
|
| |
- stdout=file("/dev/null", 'w'), shell=True)
|
| |
+ stdout=open("/dev/null", 'w'), shell=True)
|
| |
ret = os.WEXITSTATUS(os.waitpid(proc.pid, 0)[1])
|
| |
if ret == 0:
|
| |
raw_value = subprocess.Popen(['git', 'config',
|
| |
open() is preferred way how to open files in Python and file() is not available in Python 3. This seems to be only one Python 3 incompatibility in fedora-packager.