summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2018-07-27 11:56:10 +0100
committerJim MacArthur <jim.macarthur@codethink.co.uk>2018-08-01 13:07:33 +0100
commit8edf1f805f6ac2395d4e0f0efe60dc4e7dcb09fc (patch)
tree1146d6497eb4335251980b071adbe8f8a9a7f321
parent6877b6fc8b52127c1d4b5055df690364972126e0 (diff)
downloadbuildstream-8edf1f805f6ac2395d4e0f0efe60dc4e7dcb09fc.tar.gz
compose.py: Remove unused getmtime()
-rw-r--r--buildstream/plugins/elements/compose.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/buildstream/plugins/elements/compose.py b/buildstream/plugins/elements/compose.py
index 2a5979828..a206dd6d7 100644
--- a/buildstream/plugins/elements/compose.py
+++ b/buildstream/plugins/elements/compose.py
@@ -185,13 +185,6 @@ class ComposeElement(Element):
return os.path.join(os.sep, 'buildstream', 'install')
-# Like os.path.getmtime(), but doesnt explode on symlinks
-#
-def getmtime(path):
- stat = os.lstat(path)
- return stat.st_mtime
-
-
# Plugin entry point
def setup():
return ComposeElement