After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 425843 - Wrong function call in session saver plugin
Wrong function call in session saver plugin
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
2.18.x
Other Linux
: Normal major
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-03 12:33 UTC by Trond Danielsen
Modified: 2019-03-23 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Trond Danielsen 2007-04-03 12:33:15 UTC
If ~/.gnome2/gedit/plugins is missing when saving a session, the session saver plugin tries to create that folder. But the function call in store.py is wrong:

121     def save(self):
122         dirname = os.path.dirname(self.filename)
123         if not os.path.isdir(dirname):
124             os.path.makedirs(dirname)

should be:
124             os.makedirs(dirname)

Sorry for the cheezy patch, but the fix was to simple to submit something real :)
Comment 1 Paolo Borelli 2007-04-07 14:15:37 UTC
thanks