Skip to content

Commit

Permalink
bug correction: return instead of continue instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagnin committed Nov 6, 2013
1 parent 8ed4f2c commit 6fed27c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/cfwrapper.py
Expand Up @@ -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)

Expand Down

0 comments on commit 6fed27c

Please sign in to comment.