Update gen-apt-config.py
This commit is contained in:
parent
991118384e
commit
0ffe12cc3e
@ -26,7 +26,7 @@ for file in srcnames_files:
|
|||||||
srcname = line.strip()
|
srcname = line.strip()
|
||||||
srcname_lines.append(srcname)
|
srcname_lines.append(srcname)
|
||||||
result = subprocess.run([current_path + "/apt_experiments", '-n', srcname], stdout=subprocess.PIPE)
|
result = subprocess.run([current_path + "/apt_experiments", '-n', srcname], stdout=subprocess.PIPE)
|
||||||
stdout = result.stdout
|
stdout = str(result.stdout)
|
||||||
pkgname_lines.append(stdout)
|
pkgname_lines.append(stdout)
|
||||||
pkgname_lines.append(stdout + "t64")
|
pkgname_lines.append(stdout + "t64")
|
||||||
file.close()
|
file.close()
|
||||||
@ -68,4 +68,4 @@ with open("exp_pkg_names.json", "w") as twitterDataFile:
|
|||||||
twitterDataFile.write(
|
twitterDataFile.write(
|
||||||
json.dumps(pkg_data, indent=4)
|
json.dumps(pkg_data, indent=4)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user