Run the vulture static analysis tool over lib/ and manually inspect and
remove some of the unused functions/classes it reported. Most of these
come from refactorings and the move of job queue handling to luxid and
config management to wconfd.

Brian Foley (10):
  Remove unused SingleFileEventHandler inotify code
  Remove unused ConfigWriter._CheckUUIDpresent
  Remove unused jqueue _GetJobIDsUnlocked
  Remove unused jqueue _ResolveJobDependencies
  Remove unused jqueue _RemoveEmptyWaitersUnlocked
  Remove unused jqueue HasJobBeenFinalized
  Remove unused noded _DefaultAlternative
  Remove unused filestorage _CheckFileStoragePathExist
  Remove unused uidpool ExecWithUnusedUid
  Remove unused util FirstFree

 doc/design-2.1.rst                             |   6 --
 lib/asyncnotifier.py                           |  66 -------------
 lib/config/__init__.py                         |  13 ---
 lib/jqueue/__init__.py                         |  87 -----------------
 lib/server/noded.py                            |  17 ----
 lib/storage/filestorage.py                     |  16 ----
 lib/uidpool.py                                 |  27 ------
 lib/utils/__init__.py                          |  28 ------
 test/py/ganeti.asyncnotifier_unittest.py       | 124 -------------------------
 test/py/ganeti.storage.filestorage_unittest.py |  16 ----
 test/py/ganeti.utils_unittest.py               |  16 +---
 11 files changed, 1 insertion(+), 415 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

Reply via email to