diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-06-23 08:07:13 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-06-23 08:07:13 +0000 |
commit | 74293d678052187d9f1fc370b1c7a5e49daa77be (patch) | |
tree | 0de5f7ebe801b906f9e5096daaa58731cfa559ba | |
parent | 1c7726111cfcc3a87070492ec9e2e9f86f902703 (diff) | |
download | portage-74293d678052187d9f1fc370b1c7a5e49daa77be.tar.gz portage-74293d678052187d9f1fc370b1c7a5e49daa77be.tar.bz2 portage-74293d678052187d9f1fc370b1c7a5e49daa77be.zip |
Fix extra imports and undefined variable found by pyflakes.
svn path=/main/trunk/; revision=3623
-rwxr-xr-x | bin/emerge | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge index b5e043190..dbc750046 100755 --- a/bin/emerge +++ b/bin/emerge @@ -13,7 +13,7 @@ try: except KeyboardInterrupt: sys.exit(1) # If they control C during imports, just die silently -import emergehelp,xpak,string,re,commands,time,shutil,traceback,signal,socket,types +import emergehelp, xpak, commands, re, signal, socket, string, time, types from stat import ST_MTIME from output import blue, bold, colorize, darkblue, darkgreen, darkred, green, \ havecolor, nc_len, nocolor, red, teal, turquoise, white, xtermTitle, \ @@ -2416,7 +2416,7 @@ def unmerge(unmerge_action, unmerge_files, raise_on_missing=True): if sp_absx_len <= sp_vdb_len: # The Path is shorter... so it can't be inside the vdb. - print spabsx + print sp_absx print absx print "\n!!!",x,"cannot be inside "+(portage.root+portage.VDB_PATH)+"; aborting.\n" return 0 |