Permalink
Browse files

bug correction: return instead of continue instruction

  • Loading branch information...
1 parent 8ed4f2c commit 6fed27c1c6791eee8d13db60a59f8fbfe32bd685 @vmagnin vmagnin committed Nov 6, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/cfwrapper.py
View
7 src/cfwrapper.py
@@ -143,10 +143,11 @@ def translate_enums(errorsfile, enum_list):
enum = each[0]
name = each[1]
- # TODO: comment
+ # These enums are excluded for some problems...
+ # For example GDBusInterfaceSkeletonFlags contains an item with a too long name
if name in ["GSocketFamily", "GSocketMsgFlags", "GdkPixdataType",
- "GIOCondition"]:
- return ""
+ "GIOCondition", "GDBusInterfaceSkeletonFlags"]:
+ continue # Go to next enum
parameters = re.findall("(?ms){(.*)}", enum)

0 comments on commit 6fed27c

Please sign in to comment.