From 784b20d33070a8450b23d846a0d936a356646739 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 23 Apr 2016 15:03:37 +0000 Subject: 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 --- rpki/sundial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpki/sundial.py') 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)) -- cgit v1.2.3