* [StGit PATCH] fix export -s
@ 2008-12-03 19:18 Dan Williams
0 siblings, 0 replies; only message in thread
From: Dan Williams @ 2008-12-03 19:18 UTC (permalink / raw)
To: catalin.marinas; +Cc: git
Resolves:
stg export -s `stg top`
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/stgit/main.py", line 152, in _main
ret = command.func(parser, options, args)
File "/usr/local/lib/python2.5/site-packages/stgit/commands/export.py", line 169, in func
f = sys.stdout
NameError: global name 'sys' is not defined
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
stgit/commands/export.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/stgit/commands/export.py b/stgit/commands/export.py
index dfdcea1..1236b01 100644
--- a/stgit/commands/export.py
+++ b/stgit/commands/export.py
@@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
import os
+import sys
from stgit.argparse import opt
from stgit.commands import common
from stgit import argparse, git, templates
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-03 19:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 19:18 [StGit PATCH] fix export -s Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).