summaryrefslogtreecommitdiff
path: root/pygerrit/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygerrit/client.py')
-rw-r--r--pygerrit/client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pygerrit/client.py b/pygerrit/client.py
index 456ce2e..a5a27c4 100644
--- a/pygerrit/client.py
+++ b/pygerrit/client.py
@@ -47,6 +47,10 @@ class GerritClient(object):
""" Return the version of Gerrit that is connected to. """
return self._ssh_client.get_remote_version()
+ def gerrit_info(self):
+ """ Return the username, and version of Gerrit that is connected to. """
+ return self._ssh_client.get_remote_info()
+
def query(self, term):
""" Run `gerrit query` with the given `term`.