chiark / gitweb /
Don't remove non-Popen related declares
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 16 Oct 2013 21:34:32 +0000 (23:34 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 16 Oct 2013 21:34:32 +0000 (23:34 +0200)
fdroidserver/build.py

index 686c8382b1d4ac6274f4d8b3aa570c7fdce19a07..07583286ca3478695df1f9b3a7b05fc760b5fdf2 100644 (file)
@@ -289,6 +289,8 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, sdk_path, force):
             cmdline += ' --force --test'
         cmdline += ' -p ' + app['id'] + ' --vercode ' + thisbuild['vercode']
         chan.exec_command('bash -c ". ~/.bsenv && ' + cmdline + '"')
+        output = ''
+        error = ''
         while not chan.exit_status_ready():
             while chan.recv_ready():
                 output += chan.recv(1024)