Import pkg_resources before launchpadlib.
Fixes bug 1001664. It's a hack, but it's not an evil hack. Change-Id: I6d09cdecc5cae64a21cefad81c75ed1c02c4801c
This commit is contained in:
parent
66dff2a2db
commit
456cbd6f4b
@ -23,6 +23,11 @@ import subprocess
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
# There is a bug (810019) somewhere deep which causes pkg_resources
|
||||
# to bitch if it's imported after argparse. launchpadlib imports it,
|
||||
# so if we head it off at the pass, we can skip cronspam
|
||||
import pkg_resources
|
||||
|
||||
import StringIO
|
||||
import ConfigParser
|
||||
import argparse
|
||||
|
Loading…
x
Reference in New Issue
Block a user