def _get_xdg_config_dir():
 path = os.environ.get(u'XDG_CONFIG_HOME')
 if (path is None):
  path = get_home()
  if (path is not None):
   path = os.path.join(path, u'.config')
 return path

def _get_xdg_config_dir ( ) : path = os . environ . get ( u'XDG_CONFIG_HOME' ) if ( path is None ) : path = get_home ( ) if ( path is not None ) : path = os . path . join ( path , u'.config' ) return path
returns the xdg configuration directory .