From 90cbea4522bda08c0f83779103592b6d355c9c5d Mon Sep 17 00:00:00 2001 From: carlgeorge Date: Sun, 28 Jun 2015 17:44:55 -0500 Subject: [PATCH] fix typos in doc strings * site_data_dir examples were described as 'user data', change to 'site data' * user_config_dir examples were described as 'user data', change to 'user config' * site_config_dir examples were described as 'user data', change to 'site config' * user_log_dir examples were described as 'user cache', change to 'user log' --- appdirs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appdirs.py b/appdirs.py index 0342a07..dac0d4d 100644 --- a/appdirs.py +++ b/appdirs.py @@ -117,7 +117,7 @@ def site_data_dir(appname=None, appauthor=None, version=None, multipath=False): returned, or '/usr/local/share/', if XDG_DATA_DIRS is not set - Typical user data directories are: + Typical site data directories are: Mac OS X: /Library/Application Support/ Unix: /usr/local/share/ or /usr/share/ Win XP: C:\Documents and Settings\All Users\Application Data\\ @@ -184,7 +184,7 @@ def user_config_dir(appname=None, appauthor=None, version=None, roaming=False): for a discussion of issues. - Typical user data directories are: + Typical user config directories are: Mac OS X: same as user_data_dir Unix: ~/.config/ # or in $XDG_CONFIG_HOME, if defined Win *: same as user_data_dir @@ -222,7 +222,7 @@ def site_config_dir(appname=None, appauthor=None, version=None, multipath=False) returned. By default, the first item from XDG_CONFIG_DIRS is returned, or '/etc/xdg/', if XDG_CONFIG_DIRS is not set - Typical user data directories are: + Typical site config directories are: Mac OS X: same as site_data_dir Unix: /etc/xdg/ or $XDG_CONFIG_DIRS[i]/ for each value in $XDG_CONFIG_DIRS @@ -329,7 +329,7 @@ def user_log_dir(appname=None, appauthor=None, version=None, opinion=True): "Logs" to the base app data dir for Windows, and "log" to the base cache dir for Unix. See discussion below. - Typical user cache directories are: + Typical user log directories are: Mac OS X: ~/Library/Logs/ Unix: ~/.cache//log # or under $XDG_CACHE_HOME if defined Win XP: C:\Documents and Settings\\Local Settings\Application Data\\\Logs