X-Git-Url: https://git.distorted.org.uk/~mdw/autoys/blobdiff_plain/0bf1fa38af3b0729bc162167ea58379c7830d147..2a236d3a90eb57b444f90c2881aa42ae06c5e0c3:/gremlin/gremlin.in diff --git a/gremlin/gremlin.in b/gremlin/gremlin.in index 7b0e47d..0a76641 100644 --- a/gremlin/gremlin.in +++ b/gremlin/gremlin.in @@ -1513,8 +1513,9 @@ def grobble(master, targets, noact = False): ## the appropriate categories. Later, we'll apply policy to the ## files, by category, and work out what to do with them all. else: - gf = GIO.File(masterfile) - mime = gf.query_info('standard::content-type').get_content_type() + mime = GIO.File(masterfile) \ + .query_info('standard::content-type') \ + .get_content_type() cats = [] for cat in pmap.iterkeys(): id = cat.identify(masterfile, mime)