diff --git a/sandbox/update_plugins_messagespot.py b/sandbox/update_plugins_messagespot.py new file mode 100644 index 000000000..46cbd6d26 --- /dev/null +++ b/sandbox/update_plugins_messagespot.py @@ -0,0 +1,14 @@ +import os +import pbs + +pbs.cd('Admin') +for plugin in os.listdir('..'): + path = os.path.join('..', plugin) + print(repr(path)) + assert os.path.exists(path) + if not os.path.isdir(path): + print 1 + continue + print 2 + pbs.cd(path) + pbs.pygettext('-D', 'config.py', 'plugin.py')