Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Mapserver REST API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Miscellaneous
Mapserver REST API
Commits
82b2a9c4
Commit
82b2a9c4
authored
11 years ago
by
Wannes Rombouts
Browse files
Options
Downloads
Patches
Plain Diff
Fixed iter_classes by removing some useless code.
parent
77024a01
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mra.py
+1
-1
1 addition, 1 deletion
src/mra.py
with
1 addition
and
1 deletion
src/mra.py
+
1
−
1
View file @
82b2a9c4
...
...
@@ -140,7 +140,7 @@ class Layer(MetadataMixin):
yield
Class
(
self
.
ms
.
getClass
(
i
))
def
get_styles
(
self
):
return
set
(
clazz
.
ms
.
group
for
clazz
in
self
.
iter_
classes
(
))
return
set
(
self
.
ms
.
getClass
(
i
).
group
for
i
in
xrange
(
self
.
ms
.
num
classes
))
def
iter_styles
(
self
):
return
iter
(
self
.
get_styles
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment