~ubuntu-branches/ubuntu/wily/gramps/wily

« back to all changes in this revision

Viewing changes to gramps/plugins/export/exportxml.py

  • Committer: Package Import Robot
  • Author(s): Ross Gammon
  • Date: 2015-05-16 11:49:41 UTC
  • mfrom: (39.1.17 sid)
  • Revision ID: package-import@ubuntu.com-20150516114941-hiku87mi6p7wbjba
Tags: 4.1.3~dfsg-1
* New upstream release
* Fixes manpage desription of import function (LP: #1427444)
* Fixes crash when closing detatched gramplet (Closes: #785393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
                            "Please make sure you have write access to the "
141
141
                                "directory and try again."))
142
142
                    return 0
 
143
            else:
 
144
                raise DbWriteFailure(_('No directory'),
 
145
                                     _('There is no directory %s.\n\n'
 
146
                                       'Please select another directory '
 
147
                                       'or create it.') % base )
 
148
                return 0
143
149
                
144
150
            if os.path.exists(filename):
145
151
                if not os.access(filename, os.W_OK):