Revision b705c7a6 lib/ssconf.py
b/lib/ssconf.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2010 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
478 | 478 |
""" |
479 | 479 |
if ss is None: |
480 | 480 |
ss = SimpleStore() |
481 |
return ss.GetMasterNode(), netutils.HostInfo().name
|
|
481 |
return ss.GetMasterNode(), netutils.Hostname.GetSysName()
|
|
482 | 482 |
|
483 | 483 |
|
484 | 484 |
def CheckMaster(debug, ss=None): |
Also available in: Unified diff