2007-01-24 Don Allingham <don@gramps-project.org>

* src/Editors/_EditSourceRef.py: remove debug statements
	* src/AddMedia.py: remove debug statements
	* src/ArgHandler.py: remove debug statements



svn: r7980
This commit is contained in:
Don Allingham 2007-01-25 05:37:24 +00:00
parent 37b246608a
commit 2bf872a8c3
4 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2007-01-24 Don Allingham <don@gramps-project.org>
* src/Editors/_EditSourceRef.py: remove debug statements
* src/AddMedia.py: remove debug statements
* src/ArgHandler.py: remove debug statements
2007-01-24 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Event.py (Event): Change inheritance order.
* src/RelLib/_Family.py (Family): Change inheritance order.

View File

@ -141,8 +141,6 @@ class AddMediaObject(ManagedWindow.ManagedWindow):
p = os.path.dirname(p)
filename = Utils.relative_path(filename,p)
print os.getcwd(), filename, full_file
if os.path.exists(filename) == 0:
msgstr = _("Cannot import %s")
msgstr2 = _("The filename supplied could not be found.")

View File

@ -632,7 +632,6 @@ class ArgHandler:
elif action == 'summary':
import Summary
text = Summary.build_report(self.state.db,None)
print text
elif action == "report":
try:
options_str_dict = dict( [ tuple(chunk.split('='))
@ -751,7 +750,6 @@ class NewNativeDbPrompter:
if os.path.splitext(filename)[1] != ".grdb":
filename = filename + ".grdb"
choose.destroy()
print Config.TRANSACTIONS
self.state.db = GrampsDb.gramps_db_factory(const.app_gramps)(
Config.TRANSACTIONS)
self.vm.db_loader.read_file(filename, const.app_gramps)

View File

@ -99,8 +99,6 @@ class EditSourceRef(EditReference):
self.top.get_widget("private"),
self.source, self.db.readonly)
print self.top.get_widget('title')
self.title = MonitoredEntry(
self.top.get_widget('title'),
self.source.set_title,