Code cleanup/sync
This commit is contained in:
@@ -181,8 +181,7 @@ class ViewerManifest(LLManifest):
|
|||||||
return self.channel().replace(CHANNEL_VENDOR_BASE, "").strip()
|
return self.channel().replace(CHANNEL_VENDOR_BASE, "").strip()
|
||||||
|
|
||||||
def channel_type(self): # returns 'release', 'beta', 'project', or 'test'
|
def channel_type(self): # returns 'release', 'beta', 'project', or 'test'
|
||||||
global CHANNEL_VENDOR_BASE
|
channel_qualifier=self.channel_variant().lower()
|
||||||
channel_qualifier=self.channel().replace(CHANNEL_VENDOR_BASE, "").lower().strip()
|
|
||||||
if channel_qualifier.startswith('release'):
|
if channel_qualifier.startswith('release'):
|
||||||
channel_type='release'
|
channel_type='release'
|
||||||
elif channel_qualifier.startswith('beta'):
|
elif channel_qualifier.startswith('beta'):
|
||||||
|
|||||||
Reference in New Issue
Block a user