Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpc-hc/mpcresources/UpdateISPOT.py')
-rw-r--r--src/mpc-hc/mpcresources/UpdateISPOT.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mpc-hc/mpcresources/UpdateISPOT.py b/src/mpc-hc/mpcresources/UpdateISPOT.py
index 41042747d..62917687c 100644
--- a/src/mpc-hc/mpcresources/UpdateISPOT.py
+++ b/src/mpc-hc/mpcresources/UpdateISPOT.py
@@ -1,4 +1,4 @@
-# (C) 2013 see Authors.txt
+# (C) 2013, 2015 see Authors.txt
#
# This file is part of MPC-HC.
#
@@ -19,7 +19,8 @@ import sys
from TranslationDataIS import *
-if __name__ == '__main__':
+
+def UpdateISPOT():
translationData = TranslationDataIS()
translationData.loadFromIS(r'..\..\..\distrib\custom_messages.iss')
@@ -28,3 +29,6 @@ if __name__ == '__main__':
output = tuple(not b for b in translationData.areEqualsSections(translationDataOld))
translationData.writePO(r'PO\mpc-hc.installer', 'pot', output)
+
+if __name__ == '__main__':
+ UpdateISPOT()