Changeset 1482
- Timestamp:
- 07/10/08 18:14:41 (2 months ago)
- Files:
-
- 1 modified
-
trunk/peppy/major.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/peppy/major.py
r1481 r1482 997 997 retval=dlg.ShowModal() 998 998 return 999 script = s tr(self.buffer.url.path)999 script = self.buffer.getFilename() 1000 1000 if bangpath: 1001 1001 if wx.Platform == '__WXMSW__': … … 1077 1077 def expandCommandLine(self, cmd): 1078 1078 """Expand the command line to include the filename of the buffer""" 1079 filename = self.buffer.url.path.get_name() 1079 1080 if '%' in cmd: 1080 cmd = cmd % self.buffer.getFilename()1081 cmd = cmd % filename 1081 1082 else: 1082 cmd = "%s %s" % (cmd, self.buffer.getFilename())1083 cmd = "%s %s" % (cmd, filename) 1083 1084 return cmd 1084 1085
