summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-04-22 14:28:19 -0400
committerRob Crittenden <rcritten@redhat.com>2009-05-04 18:01:06 -0400
commitc0020955a5a5aec925cc0fd526efcb727acc5d13 (patch)
tree56435e9cb9663cdfff9c73823689d3df1ce98194
parenta7a16272b124b127ac964f128d39bcb59a7f5714 (diff)
downloadfreeipa-c0020955a5a5aec925cc0fd526efcb727acc5d13.tar.gz
freeipa-c0020955a5a5aec925cc0fd526efcb727acc5d13.tar.xz
freeipa-c0020955a5a5aec925cc0fd526efcb727acc5d13.zip
Some minor cosmetic changes
-rw-r--r--ipalib/plugins/host.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 87180733f..a7a590b63 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -24,7 +24,9 @@ Frontend plugins for host/machine Identity.
from ipalib import api, crud, errors, util
from ipalib import Object # Plugin base class
from ipalib import Str, Flag # Parameter types
-import sys, os, platform
+import sys
+import os
+import platform
def get_host(hostname):
@@ -57,7 +59,7 @@ default_attributes = ['cn','description','localityname','nshostlocation','nshard
def determine_os():
(sysname, nodename, release, version, machine) = os.uname()
if sys.platform == "linux2":
- # something like fedora 9 Sulpher
+ # something like 'fedora 9 Sulpher'
return unicode(" ".join(platform.dist()))
else:
# on Solaris this will be: 'SunOS 5.10'