NetFetch.client_utils
index

# Copyright (c) 2015 Tim Savannah GPLv3 + attribution clause. See LICENSE for more information.

 
Modules
       
os
sys

 
Functions
       
findDefaultConfigFilename()
findDefaultConfigFilename - Searches ~/.netconfig.cfg and /etc/netconfig.cfg in that order, and returns the first that exists, or None
 
@return  <str/None> - Path  to config to use or None if neither exists.
readPasswordFromFilename(passwordFilename)
readPasswordFromFilename - Handles reading password from a given file
 
@param passwordFilename <str> - Path to filename file
 
Exists on failure
 
@return <str>  - String of  password