From 1942d7e615bb0f9d5bef0eb818a030a7148f5fd6 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 25 Aug 2011 13:59:33 +0000 Subject: This commit breaks OLPC builds, OLPC #11178 Revert "sugar-install-bundle to accept multiple files" This reverts commit ada284445e9a3ce96a0c9df4c299021254b0668d. --- diff --git a/bin/sugar-install-bundle b/bin/sugar-install-bundle index a034135..52deada 100644 --- a/bin/sugar-install-bundle +++ b/bin/sugar-install-bundle @@ -1,6 +1,5 @@ #!/usr/bin/env python import sys -import fileinput from sugar.bundle.activitybundle import ActivityBundle @@ -15,8 +14,7 @@ if len(sys.argv) != 2: cmd_help() sys.exit(2) -for line in fileinput.input(): - if line: - bundle = ActivityBundle(line) - bundle.install() - print "%s: '%s' installed." % (sys.argv[0], line) +bundle = ActivityBundle(sys.argv[1]) +bundle.install() + +print "%s: '%s' installed." % (sys.argv[0], sys.argv[1]) -- cgit v0.9.1