* src/DbPrompter.py: fix handling of spaces when creating a new
file - use open instead of "touch" svn: r4733
This commit is contained in:
parent
1fc782a60e
commit
ebfbdce49b
@ -1,3 +1,7 @@
|
||||
2005-05-30 Matt Brubeck <mbrubeck@cs.hmc.edu>
|
||||
* src/DbPrompter.py: fix handling of spaces when creating a new
|
||||
file - use open instead of "touch"
|
||||
|
||||
2005-05-30 Alex Roitman <shura@gramps-project.org>
|
||||
* src/po/sv.po: Typo (closes 1211150).
|
||||
|
||||
|
@ -472,7 +472,8 @@ class NewSaveasDbPrompter:
|
||||
continue
|
||||
filetype = type_selector.get_value()
|
||||
if filetype == 'auto':
|
||||
os.system('touch %s' % filename)
|
||||
new_file = open(filename, "w")
|
||||
new_file.close()
|
||||
filetype = get_mime_type(filename)
|
||||
(the_path,the_file) = os.path.split(filename)
|
||||
choose.destroy()
|
||||
|
Loading…
Reference in New Issue
Block a user