mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-12 17:31:29 +00:00
UDTConfig docstring
This commit is contained in:
parent
680a4698d7
commit
887aa1a9ab
@ -23,7 +23,10 @@ import socket
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
class UDTConfig(object):
|
class UDTConfig(object):
|
||||||
|
"""Ubuntu Dev Tools configuration file (devscripts config file) and
|
||||||
|
environment variable parsing.
|
||||||
|
"""
|
||||||
|
no_conf = False
|
||||||
defaults = {
|
defaults = {
|
||||||
'BUILDER': 'pbuilder',
|
'BUILDER': 'pbuilder',
|
||||||
'UPDATE_BUILDER': False,
|
'UPDATE_BUILDER': False,
|
||||||
@ -31,7 +34,6 @@ class UDTConfig(object):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, no_conf=False, prefix=None):
|
def __init__(self, no_conf=False, prefix=None):
|
||||||
|
|
||||||
self.no_conf = no_conf
|
self.no_conf = no_conf
|
||||||
if prefix is None:
|
if prefix is None:
|
||||||
prefix = os.path.basename(sys.argv[0]).upper().replace('-', '_')
|
prefix = os.path.basename(sys.argv[0]).upper().replace('-', '_')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user