mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
patman: Convert camel case in project.py
Convert this file to snake case and update all files which use it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
0157b187f4
commit
642df431d5
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ parser.add_argument('-e', '--end', type=int, default=0,
|
|||
help='Commits to skip at end of patch list')
|
||||
parser.add_argument('-D', '--debug', action='store_true',
|
||||
help='Enabling debugging (provides a full traceback on error)')
|
||||
parser.add_argument('-p', '--project', default=project.DetectProject(),
|
||||
parser.add_argument('-p', '--project', default=project.detect_project(),
|
||||
help="Project name; affects default option values and "
|
||||
"aliases [default: %(default)s]")
|
||||
parser.add_argument('-P', '--patchwork-url',
|
||||
|
|
|
@ -6,7 +6,7 @@ import os.path
|
|||
|
||||
from patman import gitutil
|
||||
|
||||
def DetectProject():
|
||||
def detect_project():
|
||||
"""Autodetect the name of the current project.
|
||||
|
||||
This looks for signature files/directories that are unlikely to exist except
|
||||
|
|
Loading…
Reference in a new issue