Skip to content

Commit

Permalink
named constants for common time durations (e.g. SECONDS, HOURS, etc.)…
Browse files Browse the repository at this point in the history
… are part of Bastion.Common, now
  • Loading branch information
ndenny committed Jul 11, 2024
1 parent 05269ea commit f3fd8c3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/Bastion/Chronology.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
import string
import datetime
import logging
from .Common import *

logger = logging.getLogger(__name__)

SECOND = datetime.timedelta(seconds = 1)
SECONDS = SECOND
MINUTE = datetime.timedelta(minutes = 1)
MINUTES = MINUTE
HOUR = datetime.timedelta(hours = 1)
HOURS = HOUR

def quantim(then = None, **kwargs):
"""
Expand Down

0 comments on commit f3fd8c3

Please sign in to comment.