summaryrefslogtreecommitdiff
path: root/test/pacman/util.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-22 14:39:50 -0500
committerDan McGee <dan@archlinux.org>2011-06-24 01:36:48 -0500
commit3ace8ceb2343621ada4a72fc60e8e03a570fd389 (patch)
treea57b73f64624d9ec21ae4de89ac30170b0c7d7ef /test/pacman/util.py
parent11d8418737d9d9c12584c6eed83bc6cea46ef3e9 (diff)
pactest: make pmfile a bit more pythonic
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/util.py')
-rw-r--r--test/pacman/util.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/pacman/util.py b/test/pacman/util.py
index bc8e3500..f971afd1 100644
--- a/test/pacman/util.py
+++ b/test/pacman/util.py
@@ -19,7 +19,6 @@
import os
import re
import hashlib
-import stat
# ALPM
@@ -157,18 +156,6 @@ def mkmd5sum(data):
#
-# Mtime helpers
-#
-
-def getmtime(filename):
- """
- """
- if not os.path.exists(filename):
- return None, None, None
- st = os.lstat(filename)
- return st[stat.ST_ATIME], st[stat.ST_MTIME], st[stat.ST_CTIME]
-
-#
# Miscellaneous
#