It does not appear to be a global variable, which would be a possility.

If you install eg kdesvn, you can quickly obtan full log and annotation, you can then investigate what commit did what wit the file, where changedname comes from.
You can also use sourceforge, eg here you see how it is used:

http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/src/plugins/ChangeNames.py?revision=3744&view=markup

Clearly your guess is right, as proven by
http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/src/plugins/ChangeNames.py?r1=4268&r2=4306

For certainty you can do a grep search on the name anychange (if you use an IDE it will have that option as find in project or so) and investigate the output.

Benny

2008/1/10, Raphael Ackermann <raphael.ackermann@gmail.com>:
Should anychange just be removed or was it part of some logic that got lost?

The code below has last been touched by Don in Nov 2004.

Raphael

def on_ok_clicked(self,obj):
        self.trans = self.db.transaction_begin ("",batch=True)
        self.db.disable_signals()
        changelist = [self.model.get_value(node,1)
                      for node in self.iter_list
                      if self.model.get_value(node,0)]

        anychange = False
        for handle in self.db.get_person_handles():
            change = False
            person = self.db.get_person_from_handle(handle)
            for name in [person.get_primary_name ()] +
person.get_alternate_names():
                sname = name.get_surname()
                if sname in changelist:
                    change = True
                    anychange = True
                     name.set_surname(sname.capitalize())
            if change:
                self.db.commit_person(person,self.trans)

        self.db.transaction_commit(self.trans,_("Capitalization changes"))
         self.db.enable_signals()
        self.db.request_rebuild()
        # FIXME: this probably needs to be removed, and bookmarks
        # should always be rebuilt on a commit_person via signals
        # self.parent.bookmarks.redraw ()
        self.close()
        self.cb()

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Gramps-devel mailing list
Gramps-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-devel