mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Changed if len(history): to if history:
This commit is contained in:
@@ -168,7 +168,7 @@ def run(command, data=None, timeout=None, env=None):
|
||||
history = []
|
||||
for c in command:
|
||||
|
||||
if len(history):
|
||||
if history:
|
||||
# due to broken pipe problems pass only first 10MB
|
||||
data = history[-1].std_out[0:10*1024]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user