https://github.com/ProgVal/Limnoria
Raw File
Tip revision: 68de4f8ffd7ee07f63b8b4a5f1f71a37ed1952c5 authored by Valentin Lorentz on 25 August 2019, 08:24:57 UTC
Config: Prevent accidental leak of private values on public channels.
Tip revision: 68de4f8
update_plugins_messagespot.py
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')
back to top