project.py: code cleaning
@luisbgubuntucom
Submitted by Luis de Bethencourt Assigned to Luis de Bethencourt @luisbgubuntucom
Description
Created attachment 167198
git patch
in pitivi/project.py there are two unnecesary functions:
getCapsFromSettings()
unsetSettings()
getCapsFromSettings() is mostly commented out code, leaving the function in two lines of code. This function is called twice, so in this two instances the two lines of code can be called directly.
unsetSettings() is redundant since it does the same thing that if you call setSettings(None), and this function isn't called anywhere.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=626124