aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/shell.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-03-24 16:56:12 -0700
committerChris Larson <chris_larson@mentor.com>2010-04-09 19:38:37 -0700
commit2caf134b43a44dad30af4fbe33033b3c58deee57 (patch)
treef0f72340efc339293efe2629864dc215b8576ba9 /lib/bb/shell.py
parent297305b3742323d09d9ca58e958c4f18e945a148 (diff)
downloadbitbake-2caf134b43a44dad30af4fbe33033b3c58deee57.tar.gz
Formatting cleanups
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r--lib/bb/shell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py
index 7abea0f12..512bcbf07 100644
--- a/lib/bb/shell.py
+++ b/lib/bb/shell.py
@@ -168,7 +168,7 @@ class BitBakeShellCommands:
tasks.append([name, "do_%s" % cmd])
td.add_unresolved(localdata, cooker.status)
-
+
rq = runqueue.RunQueue(cooker, localdata, cooker.status, td, tasks)
rq.prepare_runqueue()
rq.execute_runqueue()
@@ -295,7 +295,7 @@ class BitBakeShellCommands:
"""Show a comprehensive list of commands and their purpose"""
print "="*30, "Available Commands", "="*30
for cmd in sorted(cmds):
- function,numparams,usage,helptext = cmds[cmd]
+ function, numparams, usage, helptext = cmds[cmd]
print "| %s | %s" % (usage.ljust(30), helptext)
print "="*78
@@ -343,7 +343,7 @@ class BitBakeShellCommands:
return False
print "SHELL: Creating '%s/%s'" % ( fulldirname, filename )
newpackage = open( "%s/%s" % ( fulldirname, filename ), "w" )
- print >>newpackage,"""DESCRIPTION = ""
+ print >>newpackage, """DESCRIPTION = ""
SECTION = ""
AUTHOR = ""
HOMEPAGE = ""
@@ -583,7 +583,7 @@ def sendToPastebin( desc, content ):
mydata["nick"] = "%s@%s" % ( os.environ.get( "USER", "unknown" ), socket.gethostname() or "unknown" )
mydata["text"] = content
params = urllib.urlencode( mydata )
- headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain"}
+ headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
host = "rafb.net"
conn = httplib.HTTPConnection( "%s:80" % host )