File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 44- Loads all config from the config source passed on the command-line (or the default)
55- Prints a basic report on the config found, mappings, package counts etc.
66"""
7+
78from argparse import ArgumentParser
89
910from ubiconfig import get_loader
Original file line number Diff line number Diff line change @@ -23,10 +23,8 @@ class RepoApi(object):
2323 def __init__ (self , repo_url , v_3 = False ):
2424 m = GIT_LAB_URL_FMT .match (repo_url )
2525 if not m :
26- raise ValueError (
27- "The hostname must end with '.com|org|net' \
28- or set GIT_LAB_URL_FMT by yourself"
29- )
26+ raise ValueError ("The hostname must end with '.com|org|net' \
27+ or set GIT_LAB_URL_FMT by yourself" )
3028 self .host = m .group ("host" )
3129 self .repo_id = m .group ("project" ).replace ("/" , "%2F" )
3230 self .v_3 = v_3
You can’t perform that action at this time.
0 commit comments