Skip to content

Commit

Permalink
Re-include webclient.forms in flake8 configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Apr 9, 2015
1 parent cf8ecb8 commit 25f64de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions components/tools/OmeroWeb/omeroweb/webclient/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ def __init__(self, *args, **kwargs):
pass
self.fields['members'] = ExperimenterModelMultipleChoiceField(
queryset=kwargs['initial']['experimenters'],
initial=kwargs['initial']['shareMembers'],
initial=kwargs['initial']['shareMembers'],
widget=forms.SelectMultiple(attrs={'size': 5}))
except:
self.fields['members'] = ExperimenterModelMultipleChoiceField(
queryset=kwargs['initial']['experimenters'],
queryset=kwargs['initial']['experimenters'],
widget=forms.SelectMultiple(attrs={'size': 5}))
self.fields.keyOrder = [
'message', 'expiration', 'enable', 'members'] #, 'guests']
'message', 'expiration', 'enable', 'members'] # , 'guests']

message = forms.CharField(
widget=forms.Textarea(attrs={'rows': 7, 'cols': 39}),
help_text=help_wiki_c)
widget=forms.Textarea(attrs={'rows': 7, 'cols': 39}),
help_text=help_wiki_c)
expiration = forms.CharField(
max_length=100,
widget=forms.TextInput(attrs={'size': 20}),
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[flake8]
exclude=.git,components/bioformats,components/blitz/generated,components/tools/**/build,components/**/target,components/tools/OmeroPy/src/omero_ext,*pytest-*,components/tools/OmeroWeb/omeroweb/webclient/forms.py,dist,docs/sphinx,docs/sphinx-api,target
exclude=.git,components/bioformats,components/blitz/generated,components/tools/**/build,components/**/target,components/tools/OmeroPy/src/omero_ext,*pytest-*,dist,docs/sphinx,docs/sphinx-api,target

0 comments on commit 25f64de

Please sign in to comment.