Skip to content

Commit

Permalink
[scons] python 2 compatibility with configparser (fixes roboterclubaa…
Browse files Browse the repository at this point in the history
  • Loading branch information
rleh committed Jan 30, 2018
1 parent 00ad2da commit cfd8429
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scons/site_tools/configfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
import re, os, sys
import xml.etree.ElementTree as et
import xml.parsers.expat
import configparser
try:
import configparser
except:
import ConfigParser as configparser
import SCons.Node
import SCons.Errors

Expand Down

0 comments on commit cfd8429

Please sign in to comment.