def main(): goHome() msi_filename = createMSIPackage() if not os.path.exists("msi"): os.makedirs("msi") shutil.move(msi_filename, "msi")
def main(): goHome() msi_filename = createMSIPackage() if not os.path.exists("msi"): os.makedirs("msi") shutil.move(msi_filename, "msi")
def main(): msi_filename = createMSIPackage() assert subprocess.call( ("scp", msi_filename, "[email protected]:/var/www/releases/" + os.path.basename(msi_filename)), shell=True # scan scp in PATH. ) == 0 print("OK, uploaded", msi_filename)
def main(): msi_filename = createMSIPackage() assert (subprocess.call( ( "scp", msi_filename, "[email protected]:/var/www/releases/" + os.path.basename(msi_filename), ), shell=True, # scan scp in PATH. ) == 0) my_print("OK, uploaded '%s'." % msi_filename, style="blue")
def main(): msi_filename = createMSIPackage() assert ( subprocess.call( ( "scp", msi_filename, "[email protected]:/var/www/releases/" + os.path.basename(msi_filename), ), shell=True, # scan scp in PATH. ) == 0 ) print("OK, uploaded", msi_filename)
def main(): createMSIPackage()