Fix whitespace and argument name
authorBen Steffen <bds@mit.edu>
Tue, 26 Nov 2019 19:39:57 +0000 (14:39 -0500)
committerBen Steffen <bds@mit.edu>
Tue, 26 Nov 2019 19:39:57 +0000 (14:39 -0500)
python/invirt/remctl.py

index d64a10f..4150226 100644 (file)
@@ -9,6 +9,7 @@ import socket
 
 def kinit(principal=None, keytab=None):
     """Kinit with a given username and keytab"""
+
     if principal is None:
         principal = 'daemon/' + getfqdn()
     if keytab is None:
@@ -26,8 +27,9 @@ def check_kinit(principal=None, keytab=None):
         #TODO: Does this return a specific error code that we can check for?
         kinit(principal, keytab)
 
-def remctl(host, *args, **kws):
-    """Perform a remctl and return the output.
+def remctl(host, *args, **kwargs):
+    """
+    Perform a remctl and return the output.
 
     kinits if necessary, and outputs errors to stderr.
     """