[pitivi: 5/16] Remove Project.save() because it's obsolete
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 5/16] Remove Project.save() because it's obsolete
- Date: Tue, 7 Jun 2011 16:27:10 +0000 (UTC)
commit e72959e27f09c51ebf461fa54c01b6260a3b31e1
Author: Alex BÄ?luÈ? <alexandru balut gmail com>
Date: Tue May 24 14:46:43 2011 +0200
Remove Project.save() because it's obsolete
pitivi/project.py | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index bbcaa94..45f9b79 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -127,31 +127,6 @@ class Project(Signallable, Loggable):
#{ Save and Load features
- def save(self, location=None, overwrite=False):
- """
- Save the project to the given location.
-
- @param location: The location to write to. If not specified, the
- current project location will be used (if set).
- @type location: C{URI}
- @param overwrite: Whether to overwrite existing location.
- @type overwrite: C{bool}
- """
- # import here to break circular import
- from pitivi.formatters.format import save_project
- from pitivi.formatters.base import FormatterError
-
- self.log("saving...")
- location = location or self.uri
-
- if location == None:
- raise FormatterError("Location unknown")
-
- save_project(self, location or self.uri, self.format,
- overwrite)
-
- self.uri = location
-
def setModificationState(self, state):
self._dirty = state
if state:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]