Commits

Mikhail Korobov committed 8e428fa

get_package_state is corrected for squeeze (how to disable aptitude status displaying? -q=N doesn't seem to help)

  • Participants
  • Parent commits 2e053ba

Comments (0)

Files changed (1)

fab_deploy_tests/tests/__init__.py

         @run_as('root')
         def command():
             regexp = "^%s$" % name
-            state[name] = run('aptitude -F "%%c" search %s' % regexp)
+            output = run('aptitude -q -F "%%c" search %s' % regexp)
+            state[name] = output.splitlines()[-1]
         fab(command)
         return state[name]