[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: branch: master updated (V1_0-16-g721e7ff)



The branch, master has been updated
       via  721e7ff131cc10c3885e9faf9cb825f82e6348ec (commit)
      from  726ba4be218cc8278a4e936117aef74d7a10e343 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 lib/xgsch2pcb/gsch2pcbproject.py |    4 ++--
 lib/xgsch2pcb/pcbmanager.py      |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


=================
 Commit Messages
=================

commit 721e7ff131cc10c3885e9faf9cb825f82e6348ec
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Wed Sep 12 00:37:58 2007 +0100

    Fixes to allow spaces in project directory path.

:100644 100644 5a09a80... 96f72ec... M	lib/xgsch2pcb/gsch2pcbproject.py
:100644 100644 6bca927... a20a1bf... M	lib/xgsch2pcb/pcbmanager.py

=========
 Changes
=========

commit 721e7ff131cc10c3885e9faf9cb825f82e6348ec
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Wed Sep 12 00:37:58 2007 +0100

    Fixes to allow spaces in project directory path.

diff --git a/lib/xgsch2pcb/gsch2pcbproject.py b/lib/xgsch2pcb/gsch2pcbproject.py
index 5a09a80..96f72ec 100644
--- a/lib/xgsch2pcb/gsch2pcbproject.py
+++ b/lib/xgsch2pcb/gsch2pcbproject.py
@@ -68,10 +68,10 @@ class Gsch2PCBProject(gobject.GObject):
 
         fp = open(fromfile, 'rb')
         for line in fp:
-            parts = line.strip().split()
+            parts = line.strip().split(None, 1)
             opt = parts[0]
             if opt == 'schematics':
-                self.pages = parts[1:]
+                self.pages = parts[1].split()
             elif opt == 'output-name':
                 self.output_name = parts[1]
             else:
diff --git a/lib/xgsch2pcb/pcbmanager.py b/lib/xgsch2pcb/pcbmanager.py
index 6bca927..a20a1bf 100644
--- a/lib/xgsch2pcb/pcbmanager.py
+++ b/lib/xgsch2pcb/pcbmanager.py
@@ -231,7 +231,7 @@ class PCBManager( gobject.GObject ):
         
         # Run gsch2pcb
         # TODO: Handle via Popen like other tools?
-        gsch2pcb_cmd = self.gsch2pcbpath + " -q " + self.output_name + ".tmp.gsch2pcb"
+        gsch2pcb_cmd = self.gsch2pcbpath + ' -q "' + self.output_name + '.tmp.gsch2pcb"'
         gsch2pcb_output = commands.getstatusoutput(gsch2pcb_cmd)
         lines = gsch2pcb_output[1].splitlines()
         for line in lines:




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs