diff options
Diffstat (limited to 'scripts/rpkid.py')
-rwxr-xr-x | scripts/rpkid.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/rpkid.py b/scripts/rpkid.py index 5ef0809d..885e888a 100755 --- a/scripts/rpkid.py +++ b/scripts/rpkid.py @@ -5,7 +5,7 @@ Start at the RPKI daemon. This isn't real yet. So far it's just a framework onto which I'm bolting various parts for testing. """ -import tlslite.api, MySQLdb, xml.sax, lxml.etree, lxml.sax, POW, POW.pkix, traceback +import tlslite.api, MySQLdb, xml.sax, lxml.etree, lxml.sax, POW, POW.pkix, traceback, os, time import rpki.https, rpki.config, rpki.resource_set, rpki.up_down, rpki.left_right, rpki.relaxng, rpki.cms, rpki.exceptions def left_right_handler(query, path): @@ -48,6 +48,9 @@ class global_context(object): """A place to stash various global parameters.""" pass +os.environ["TZ"] = "UTC" +time.tzset() + gctx = global_context() gctx.cfg = rpki.config.parser("re.conf") |