diff options
Diffstat (limited to 'src/saml2/time_util.py')
-rw-r--r-- | src/saml2/time_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/time_util.py b/src/saml2/time_util.py index efe57144..fa4b48e1 100644 --- a/src/saml2/time_util.py +++ b/src/saml2/time_util.py @@ -18,7 +18,7 @@ import six TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ" TIME_FORMAT_WITH_FRAGMENT = re.compile( - "^(\d{4,4}-\d{2,2}-\d{2,2}T\d{2,2}:\d{2,2}:\d{2,2})(\.\d*)?Z?$") + r"^(\d{4,4}-\d{2,2}-\d{2,2}T\d{2,2}:\d{2,2}:\d{2,2})(\.\d*)?Z?$") # --------------------------------------------------------------------------- # I'm sure this is implemented somewhere else can't find it now though, so I |