From 3ace8ceb2343621ada4a72fc60e8e03a570fd389 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 22 Jun 2011 14:39:50 -0500 Subject: pactest: make pmfile a bit more pythonic Signed-off-by: Dan McGee --- test/pacman/util.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'test/pacman/util.py') 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 @@ -156,18 +155,6 @@ def mkmd5sum(data): return checksum.hexdigest() -# -# 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 # -- cgit v1.2.3