[Zope3-checkins] CVS: Zope3/src/zope/fssync - main.py:1.10

Guido van Rossum guido@python.org
Tue, 13 May 2003 18:12:03 -0400


Update of /cvs-repository/Zope3/src/zope/fssync
In directory cvs.zope.org:/tmp/cvs-serv25701

Modified Files:
	main.py 
Log Message:
Bah.  Get the target from the correct argument in checkout().
Maybe this also needs unit tests. :-)


=== Zope3/src/zope/fssync/main.py 1.9 => 1.10 ===
--- Zope3/src/zope/fssync/main.py:1.9	Tue May 13 17:45:53 2003
+++ Zope3/src/zope/fssync/main.py	Tue May 13 18:12:02 2003
@@ -126,7 +126,7 @@
         raise Usage("checkout requires a URL argument")
     rooturl = args[0]
     if len(args) > 1:
-        target = args[0]
+        target = args[1]
         if len(args) > 2:
             raise Usage("checkout requires at most one TARGETDIR argument")
     else: