Skip to content

Commit e543c95

Browse files
author
gau1991
committed
Fixed global not defined
1 parent 64ddec5 commit e543c95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ee/core/aptget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def update(self):
1717
"""
1818
try:
1919
with open('/var/log/ee/ee.log', 'a') as f:
20-
proc = subprocess.Popen('apt-get update {0}'
21-
.format(all_packages), shell=True,
20+
proc = subprocess.Popen('apt-get update',
21+
shell=True,
2222
stdin=None, stdout=f, stderr=f,
2323
executable="/bin/bash")
2424
proc.wait()

0 commit comments

Comments
 (0)