* src/Plugins.py (reload_plugins): Check for status.
* src/Report.py: pychecker fixes svn: r3916
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
2005-01-16 Alex Roitman  <shura@alex.neuro.umn.edu>
 | 
			
		||||
	* src/Plugins.py (reload_plugins): Check for status.
 | 
			
		||||
	* src/Report.py: pychecker fixes
 | 
			
		||||
 | 
			
		||||
2005-01-15  Don Allingham  <dallingham@users.sourceforge.net>
 | 
			
		||||
	* src/EditPerson.py: don't use quote date
 | 
			
		||||
	* src/PeopleModel.py: remove BOLD
 | 
			
		||||
 
 | 
			
		||||
@@ -707,7 +707,8 @@ def reload_plugins(obj=None,junk1=None,junk2=None,junk3=None):
 | 
			
		||||
        PluginStatus()
 | 
			
		||||
    else:
 | 
			
		||||
        global status_up
 | 
			
		||||
        status_up.close(None)
 | 
			
		||||
        if status_up:
 | 
			
		||||
        	status_up.close(None)
 | 
			
		||||
        status_up = None
 | 
			
		||||
 | 
			
		||||
#-------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
@@ -1755,7 +1755,7 @@ def report(database,person,report_class,options_class,translated_name,name,categ
 | 
			
		||||
 | 
			
		||||
    dialog = dialog_class(database,person,options_class,name,translated_name)
 | 
			
		||||
    response = dialog.window.run()
 | 
			
		||||
    if response == True:
 | 
			
		||||
    if response:
 | 
			
		||||
        try:
 | 
			
		||||
            MyReport = report_class(dialog.db,dialog.person,dialog.options)
 | 
			
		||||
            MyReport.begin_report()
 | 
			
		||||
@@ -1789,6 +1789,7 @@ def write_book_item(database,person,report_class,options_class):
 | 
			
		||||
    except:
 | 
			
		||||
        import DisplayTrace
 | 
			
		||||
        DisplayTrace.DisplayTrace()
 | 
			
		||||
    return None
 | 
			
		||||
 | 
			
		||||
# Command-line generic task
 | 
			
		||||
def cl_report(database,name,category,report_class,options_class,options_str_dict):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user