comparison roundup/admin.py @ 7439:f7dc37df61b7

fix typo in comment.
author John Rouillard <rouilj@ieee.org>
date Tue, 30 May 2023 15:15:35 -0400
parents 36916abe36e9
children fc9daba984c0
comparison
equal deleted inserted replaced
7438:116ea5ce06ab 7439:f7dc37df61b7
2034 return 1 2034 return 1
2035 2035
2036 # only open the database once! 2036 # only open the database once!
2037 if not self.db: 2037 if not self.db:
2038 self.db = tracker.open(self.name) 2038 self.db = tracker.open(self.name)
2039 # dont use tracker.config["TRACKER_LANGUAGE"] here as the 2039 # don't use tracker.config["TRACKER_LANGUAGE"] here as the
2040 # cli operator likely wants to have i18n as set in the 2040 # cli operator likely wants to have i18n as set in the
2041 # environment. 2041 # environment.
2042 # This is needed to fetch the locale's of the tracker's home dir. 2042 # This is needed to fetch the locale's of the tracker's home dir.
2043 self.db.i18n = get_translation(tracker_home=tracker.tracker_home) 2043 self.db.i18n = get_translation(tracker_home=tracker.tracker_home)
2044 2044

Roundup Issue Tracker: http://roundup-tracker.org/