diff src/core/sat_main.py @ 1376:28fd9e838f8f

core: getRepositoryData now get the module in argument
author Goffi <goffi@goffi.org>
date Thu, 19 Mar 2015 20:40:10 +0100
parents 3a20312d4012
children 069ad98b360d
line wrap: on
line diff
--- a/src/core/sat_main.py	Thu Mar 19 19:47:01 2015 +0100
+++ b/src/core/sat_main.py	Thu Mar 19 20:40:10 2015 +0100
@@ -17,6 +17,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+import sat
 from sat.core.i18n import _, D_, languageSwitch
 from twisted.application import service
 from twisted.internet import defer
@@ -72,7 +73,7 @@
             try:
                 return self._version_cache
             except AttributeError:
-                self._version_cache = u"{} ({})".format(version, utils.getRepositoryData())
+                self._version_cache = u"{} ({})".format(version, utils.getRepositoryData(sat))
                 return self._version_cache
         else:
             return version