From: Vikram Narayanan <vikram186@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] patman: Change the location of the config file
Date: Tue, 08 May 2012 23:40:54 +0530 [thread overview]
Message-ID: <4FA961AE.6080906@gmail.com> (raw)
Move the config file from ~/.config/patman to ~/.patman
as it is more appropriate to have it there.
Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
---
tools/patman/settings.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/patman/settings.py b/tools/patman/settings.py
index 9b7e75d..4dda17b 100644
--- a/tools/patman/settings.py
+++ b/tools/patman/settings.py
@@ -62,10 +62,10 @@ def ReadGitAliases(fname):
fd.close()
def CreatePatmanConfigFile(config_fname):
- """Creates a config file under $(HOME)/.config/ if it can't find one.
+ """Creates a config file under $(HOME)/.patman if it can't find one.
Args:
- config_fname: Default config filename i.e., $(HOME)/.config/patman
+ config_fname: Default config filename i.e., $(HOME)/.patman
Returns:
None
@@ -96,10 +96,10 @@ def Setup(config_fname=''):
"""
settings = ConfigParser.SafeConfigParser()
if config_fname == '':
- config_fname = '%s/.config/patman' % os.getenv('HOME')
+ config_fname = '%s/.patman' % os.getenv('HOME')
if not os.path.exists(config_fname):
- print "No config file found under ~/.config/\nCreating one...\n"
+ print "No config file found ~/.patman\nCreating one...\n"
CreatePatmanConfigFile(config_fname)
settings.read(config_fname)
--
1.7.4.1
next reply other threads:[~2012-05-08 18:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-08 18:10 Vikram Narayanan [this message]
2012-05-22 16:03 ` [U-Boot] [PATCH 1/2] patman: Change the location of the config file Wolfgang Denk
2012-05-22 16:57 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FA961AE.6080906@gmail.com \
--to=vikram186@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.