Public bug reported:

Binary package hint: computer-janitor

$ sudo computer-janitor cleanup all
/usr/lib/python2.6/dist-packages/computerjanitorapp/app.py:152: 
DeprecationWarning: Accessed deprecated property Package.candidateDownloadable, 
please see the Version class for alternatives.
  if not self.apt_cache[name].candidateDownloadable:
/usr/share/computerjanitor/plugins/unsupported_plugin.py:101: 
DeprecationWarning: Accessed deprecated property Package.installedDownloadable, 
please see the Version class for alternatives.
  if pkg.installedDownloadable or pkg.candidateDownloadable:
/usr/share/computerjanitor/plugins/unsupported_plugin.py:101: 
DeprecationWarning: Accessed deprecated property Package.candidateDownloadable, 
please see the Version class for alternatives.
  if pkg.installedDownloadable or pkg.candidateDownloadable:
/usr/share/computerjanitor/plugins/unsupported_plugin.py:79: 
DeprecationWarning: Accessed deprecated property Package.installedDependencies, 
please see the Version class for alternatives.
  for dep in pkg.installedDependencies:
CRITICAL: 

The correct way is: $ sudo computer-janitor cleanup --all

The strange thing is.. $ sudo computer-janitor all cleanup
gives an empty "ERROR:"

and...

$ sudo computer-janitor --all cleanup

just works.

I think it should only accept [option] before the command (e.g: cleanup)
and not before and after.

Thanks

** Affects: computer-janitor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Better error message when option isn't correct
https://bugs.launchpad.net/bugs/410042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to