Skip to content

Commit 581ef96

Browse files
authored
r'strings'
1 parent 2a08d00 commit 581ef96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/onelogin/saml2/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def generate_unique_id():
434434

435435
@staticmethod
436436
def parse_time_to_SAML(time):
437-
"""
437+
r"""
438438
Converts a UNIX timestamp to SAML2 timestamp on the form
439439
yyyy-mm-ddThh:mm:ss(\.s+)?Z.
440440
@@ -449,7 +449,7 @@ def parse_time_to_SAML(time):
449449

450450
@staticmethod
451451
def parse_SAML_to_time(timestr):
452-
"""
452+
r"""
453453
Converts a SAML2 timestamp on the form yyyy-mm-ddThh:mm:ss(\.s+)?Z
454454
to a UNIX timestamp. The sub-second part is ignored.
455455

0 commit comments

Comments
 (0)