Changeset c593f057d41b…
Parent 5f277922fca3…
by
Changes to one file · Browse files at c593f057d41b Showing diff from parent 5f277922fca3 Diff from another changeset...
@@ -15,6 +15,7 @@ import shlib
import shelve
import iniparse
+import gdialog
_unspecstr = '<unspecified>'
@@ -596,6 +597,10 @@ refreshlist = []
for row in self.pathdata:
name = fromutf(row[0])
+ if not name:
+ gdialog.Prompt(_('Invalid path'),
+ _('Skipped saving path with no alias'), self).run()
+ continue
path = fromutf(row[1])
cpath = '.'.join(['paths', name])
self.record_new_value(cpath, path, False)
|
Loading...