Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2263

Fix new errors found by vulture 1.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 4.4.5
    • Component/s: Framework

      Description

      The new version fnd more dead code:

      nxdrive/commandline.py:629: unused method 'console' (60% confidence)
      nxdrive/engine/watcher/local_watcher.py:1342: unused method 'on_any_event' (60% confidence)
      nxdrive/engine/watcher/local_watcher.py:1365: unused method 'on_any_event' (60% confidence)
      nxdrive/gui/api.py:178: unused method 'get_update_status' (60% confidence)
      nxdrive/gui/folders_model.py:68: unused method 'is_hidden' (60% confidence)
      nxdrive/gui/view.py:56: unused method 'nameRoles' (60% confidence)
      nxdrive/gui/view.py:453: unused method 'getTag' (60% confidence)
      nxdrive/gui/view.py:457: unused method 'getName' (60% confidence)
      nxdrive/options.py:294: unused function '__getattr__' (60% confidence)
      nxdrive/options.py:305: unused function '__setattr__' (60% confidence)
      nxdrive/options.py:314: unused function '__repr__' (60% confidence)
      nxdrive/options.py:322: unused function '__str__' (60% confidence)
      nxdrive/osi/__init__.py:52: unused method 'install_addons' (60% confidence)
      nxdrive/osi/__init__.py:99: unused method 'cb_get' (60% confidence)
      nxdrive/osi/darwin/darwin.py:101: unused method 'cb_get' (60% confidence)
      nxdrive/osi/darwin/pyNotificationCenter.py:30: unused method 'userNotificationCenter_didActivateNotification_' (60% confidence)
      nxdrive/osi/darwin/pyNotificationCenter.py:44: unused method 'userNotificationCenter_shouldPresentNotification_' (60% confidence)
      nxdrive/osi/linux/linux.py:32: unused method 'cb_get' (60% confidence)
      nxdrive/osi/windows/windows.py:63: unused method 'cb_get' (60% confidence)
      nxdrive/osi/windows/windows.py:87: unused method 'install_addons' (60% confidence)
      nxdrive/translator.py:122: unused method 'format_date' (60% confidence)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m