Commit 8edf1f80 authored by Jim MacArthur's avatar Jim MacArthur
Browse files

compose.py: Remove unused getmtime()

parent 6877b6fc
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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