diff options
author | Rob Austein <sra@hactrn.net> | 2016-04-23 15:03:37 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-04-23 15:03:37 +0000 |
commit | 784b20d33070a8450b23d846a0d936a356646739 (patch) | |
tree | 493851ea6578209bf4715e6d770c83837eb37865 /rpki/sundial.py | |
parent | f81321b26b8112dc971288ec116aa64178dd3259 (diff) |
Internal root sort of working, but only sort of. It's skipping the
worker CA and going straight from the root to certifying children,
which is wrong. However...this is far enough along that we can now
remove all the rootd glorp, which is a worthwhile simplification in
its own right, so checkpoint here, remove rootd glorp, then figure out
what's wrong with the internal certificate hierarchy.
rcynic does validate the current output, given a manually constructed
TAL, even if the current output isn't quite what it should be. So we
should also be able to sort out the new TAL generation code now.
Yes, checking in a version that works for the wrong reasons is weird,
but the current sort-of-broken state lets us confirm that the lower
levels of the tree are still correct as we go, which would be much
harder if the poor thing just sat there and whimpered until we had
the new internal CA code completely finished.
svn path=/branches/tk705/; revision=6376
Diffstat (limited to 'rpki/sundial.py')
-rw-r--r-- | rpki/sundial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/sundial.py b/rpki/sundial.py index 1556d0bd..b788940d 100644 --- a/rpki/sundial.py +++ b/rpki/sundial.py @@ -235,7 +235,7 @@ class timedelta(pydatetime.timedelta): Parse text into a timedelta object. """ - if not isinstance(arg, str): + if not isinstance(arg, (str, unicode)): return cls(seconds = arg) elif arg.isdigit(): return cls(seconds = int(arg)) |