]> git.ipfire.org Git - location/libloc.git/commitdiff
export: Drop using functools
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Apr 2022 20:45:23 +0000 (20:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Apr 2022 20:45:23 +0000 (20:45 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location/export.py

index 13c0540ca5da3498fae113ad7ed4077993824999..054e4942850548b1409024e880e20b1bf8e32ff1 100644 (file)
@@ -84,7 +84,7 @@ class OutputWriter(object):
 
                return "%sv%s" % (self.name, families.get(self.family, "?"))
 
-       @functools.cached_property
+       @property
        def filename(self):
                if self.directory:
                        return os.path.join(self.directory, "%s.%s" % (self.tag, self.suffix))