diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2009-03-06 11:28:23 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2009-03-06 11:28:48 -0500 |
commit | d0456d29210393286345031f24ad3568a43252e9 (patch) | |
tree | 0e9911b994b8604666101f597ed03b637d7f300c /cobbler | |
parent | 42bcd7f588f448f002a929caa3f4ede8a4d135da (diff) | |
download | cobbler-d0456d29210393286345031f24ad3568a43252e9.tar.gz cobbler-d0456d29210393286345031f24ad3568a43252e9.tar.xz cobbler-d0456d29210393286345031f24ad3568a43252e9.zip |
Make CLI repo find command search proper object types
Diffstat (limited to 'cobbler')
-rw-r--r-- | cobbler/modules/cli_repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/modules/cli_repo.py b/cobbler/modules/cli_repo.py index 0bcb0dba..53c0232c 100644 --- a/cobbler/modules/cli_repo.py +++ b/cobbler/modules/cli_repo.py @@ -83,7 +83,7 @@ class RepoFunction(commands.CobblerFunction): def run(self): if self.args and "find" in self.args: - items = self.api.find_system(return_list=True, no_errors=True, **self.options.__dict__) + items = self.api.find_repo(return_list=True, no_errors=True, **self.options.__dict__) for x in items: print x.name return True |