comparison cmd2.py @ 38:ed1f390c142d

all but flags
author devlinjs@FA7CZA6N1254998.wrightpatterson.afmc.ds.af.mil
date Thu, 03 Jan 2008 13:23:06 -0500
parents 38aa4f49f095
children 5d29e6a21c6f
comparison
equal deleted inserted replaced
37:38aa4f49f095 38:ed1f390c142d
269 f = open(filename, 'w') 269 f = open(filename, 'w')
270 f.write(buffer or '') 270 f.write(buffer or '')
271 f.close() 271 f.close()
272 272
273 os.system('%s %s' % (self.editor, filename)) 273 os.system('%s %s' % (self.editor, filename))
274 self.do_load(self.filename) 274 self.do_load(filename)
275 do_edit = do_ed 275 do_edit = do_ed
276 276
277 def do_save(self, fname=None): 277 def do_save(self, fname=None):
278 """Saves most recent command to a file.""" 278 """Saves most recent command to a file."""
279 279