Commit Graph

12 Commits

Author SHA1 Message Date
Marta Marczykowska-Górecka
b27c10f1d4
Add handling for backup in progress
Shows a better error message when a given backup is already running.

fixes QubesOS/qubes-issues#5432
requires https://github.com/QubesOS/qubes-core-admin/pull/292
2019-11-11 17:44:53 +01:00
Marek Marczykowski-Górecki
7bdcb23fb8
Fix erroneous usage of 'qubes' module
On the client side it should use only 'qubesadmin'. In practice, those
few are trivial to replace:
 - get_disk_usage() is also available in shutil (as disk_usage())
 - BackupCancelledError should be used from qubesadmin.exc anyway (there
   was also a typo)

Remove also test-packages/qubes to let pylint detect such issues in the
future.

QubesOS/qubes-issues#5403
2019-10-24 05:47:26 +02:00
Marta Marczykowska-Górecka
a761875b60
Pylint fixes 2018-09-10 18:04:45 +02:00
Marta Marczykowska-Górecka
20ee51f3d1
Fixed error with asynchronous handling of VM remove and VM halting
It will hopefully fix QubesOS/qubes-issues#4163 .

references QubesOS/qubes-issues#4163
2018-08-06 21:53:09 +02:00
Marta Marczykowska-Górecka
027abd8ac3
Pylint corrections
Pylint 2.0 was complaining. Cosmetic fixes to make it stop.
2018-07-20 00:25:27 +02:00
Marta Marczykowska-Górecka
6f4870bc8d
Changes to for pylint 2.0
Fixes to make pylint 2.0 stop complaining.
2018-07-16 02:17:48 +02:00
Marek Marczykowski-Górecki
1c99cfafcf
travis: Add QubesPropertyAccessError exception mockup 2018-06-13 16:17:20 +02:00
Marta Marczykowska-Górecka
20cabb5563
Check if VM needs killing before murdering it
In some cases, when the user waited some time before force-killing a VM,
it could be already dead.

fixes QubesOS/qubes-issues#3730
2018-03-25 12:29:05 +02:00
Marta Marczykowska-Górecka
bb8abff988
Suggested changes
included changes as suggested by @marmarek.
2018-01-06 02:21:07 +01:00
Marta Marczykowska-Górecka
78b4747e81
Second pylint pass
Fixed errors pointed out by pylint on server.
2017-12-11 01:15:07 +01:00
Marta Marczykowska-Górecka
5f1e4803fe
Applied corrections from @marmarek 2017-11-17 17:42:19 +01:00
Marta Marczykowska-Górecka
c708830af2
Configuration files for travis
Config file and package stubs, required for travis to check module
correctness with pylint.
2017-11-10 23:17:56 +01:00