Fix syntax issues / unused import reported by static code analysis

This commit is contained in:
Oliver Smith 2017-06-14 20:12:47 +02:00
parent 1e45c64698
commit 90c3a67329
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 2 additions and 4 deletions

View file

@ -63,6 +63,4 @@ def diff(args, files_a, files_b=None):
if add:
ret.append(arch + "/" + file)
return sorted(ret)

View file

@ -20,7 +20,6 @@ import os
import sys
import pytest
import types
import pathlib
import time
# Import from parent directory
@ -35,6 +34,7 @@ def args(request, tmpdir):
args.work = str(tmpdir)
return args
def clear_timestamps_from_files(files):
"""
Replace all last modified timestamps from pmb.helpers.repo.files() with