chiark / gitweb /
Fix output and error assignment error
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 10 Oct 2013 16:35:15 +0000 (18:35 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 10 Oct 2013 16:35:15 +0000 (18:35 +0200)
fdroidserver/build.py

index 62c5d24d2d22e3ddd3f433f36227216dcc2b6517..b4ba4ca990033b6bdb81e0a313d80fc656cd4f14 100644 (file)
@@ -432,8 +432,9 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
     tarball.close()
 
     # Run a build command if one is required...
+    output = ''
+    error = ''
     if 'build' in thisbuild:
-        output, error = ''
         build = thisbuild['build']
         # Substitute source library paths into commands...
         for name, libpath in srclibpaths: