diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-06-02 14:23:05 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-06-02 14:23:05 -0700 |
| commit | b2fb1738db489206557abccb631b13991c31fd4e (patch) | |
| tree | b18296adbef3f577dcf2b073073196a772ac3787 /nova/utils.py | |
| parent | 8b6de21b5ed4248998eef7deb57b1bc4f3863276 (diff) | |
| download | nova-b2fb1738db489206557abccb631b13991c31fd4e.tar.gz nova-b2fb1738db489206557abccb631b13991c31fd4e.tar.xz nova-b2fb1738db489206557abccb631b13991c31fd4e.zip | |
make all uses of utcnow use our testable utils.utcnow
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py index 361fc9873..b1638e72c 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -307,7 +307,7 @@ def get_my_linklocal(interface): def utcnow(): - """Overridable version of datetime.datetime.utcnow.""" + """Overridable version of utils.utcnow.""" if utcnow.override_time: return utcnow.override_time return datetime.datetime.utcnow() |
