aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lib
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/lib
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/lib')
-rw-r--r--linden/indra/lib/python/indra/llmanifest.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/lib/python/indra/llmanifest.py b/linden/indra/lib/python/indra/llmanifest.py
index c49e39a..e295cd7 100644
--- a/linden/indra/lib/python/indra/llmanifest.py
+++ b/linden/indra/lib/python/indra/llmanifest.py
@@ -85,6 +85,7 @@ def get_default_version(srctree):
85 build = re.search("LL_VERSION_BUILD\s=\s([0-9]+)", contents).group(1) 85 build = re.search("LL_VERSION_BUILD\s=\s([0-9]+)", contents).group(1)
86 return major, minor, patch, build 86 return major, minor, patch, build
87 87
88DEFAULT_CHANNEL = 'Second Life Release'
88 89
89ARGUMENTS=[ 90ARGUMENTS=[
90 dict(name='actions', 91 dict(name='actions',
@@ -113,6 +114,9 @@ ARGUMENTS=[
113 though it's not strictly a grid, 'firstlook' is also an acceptable 114 though it's not strictly a grid, 'firstlook' is also an acceptable
114 value for this parameter.""", 115 value for this parameter.""",
115 default=""), 116 default=""),
117 dict(name='channel',
118 description="""The channel to use for updates.""",
119 default=DEFAULT_CHANNEL),
116 dict(name='installer_name', 120 dict(name='installer_name',
117 description=""" The name of the file that the installer should be 121 description=""" The name of the file that the installer should be
118 packaged up into. Only used on Linux at the moment.""", 122 packaged up into. Only used on Linux at the moment.""",
@@ -224,6 +228,11 @@ class LLManifest(object):
224 self.src_prefix = [srctree] 228 self.src_prefix = [srctree]
225 self.dst_prefix = [dsttree] 229 self.dst_prefix = [dsttree]
226 self.created_paths = [] 230 self.created_paths = []
231
232 def default_grid(self):
233 return self.args.get('grid', None) == ''
234 def default_channel(self):
235 return self.args.get('channel', None) == DEFAULT_CHANNEL
227 236
228 def construct(self): 237 def construct(self):
229 """ Meant to be overriden by LLManifest implementors with code that 238 """ Meant to be overriden by LLManifest implementors with code that