Merge pull request #4068 from ndufresne/master

help: Fix printing list of wrap mode
This commit is contained in:
Xavier Claessens 2018-08-23 09:12:51 -04:00 committed by GitHub
commit a94099bc65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -33,4 +33,11 @@ from enum import Enum
# Note that these options do not affect subprojects that
# are git submodules since those are only usable in git
# repositories, and you almost always want to download them.
WrapMode = Enum('WrapMode', 'default nofallback nodownload forcefallback')
class WrapMode(Enum):
default = 1
nofallback = 2
nodownload = 3
forcefallback = 4
def __str__(self):
return self.name