Verified Commit cb1b4a15 authored by Mattia Rizzolo's avatar Mattia Rizzolo

Merge branch 'fix-watchfile' of salsa.debian.org:friki-guest/debexpo into live

MR: !62Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parents d7832d6b de585723
Pipeline #43933 passed with stage
in 4 minutes and 37 seconds
......@@ -3,6 +3,7 @@ before_script:
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes install --no-install-recommends
python-sqlalchemy python-pylons python-debian python-babel iso-codes gnupg python-apt python-lxml python-coverage lintian ca-certificates dpkg-dev python-dulwich python-sphinx python-setuptools git python-passlib python-bcrypt
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends devscripts # to test the watchfile plugin
.test_template: &test
script:
......
......@@ -57,12 +57,11 @@ class WatchFilePlugin(BasePlugin):
def _run_uscan(self):
if not hasattr(self, 'status') and not hasattr(self, 'output'):
os.chdir('extracted')
call = subprocess.Popen(["uscan", "--verbose", '--report'],
stdout=subprocess.PIPE)
stdout=subprocess.PIPE,
cwd='extracted')
(self.output, _) = call.communicate()
self.status = call.returncode
os.chdir('..')
def _watch_file_works(self):
self._run_uscan()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment