Fix Python 3 warning

Authored by ngraham on Dec 24 2018, 3:03 AM.



This tool currently prints a warning when run with Python 3:

./list_dependencies:147: FutureWarning: Possible nested set at position 9
  result ='(^[^[]*)[[](.*)]$', item)

This patch fixes the issue.

Test Plan

No more warnings on Python 3 and still works
Still works just fine with Python 2

Diff Detail

R499 Metadata for build scripts
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
ngraham requested review of this revision.Dec 24 2018, 3:03 AM
ngraham created this revision.
mpyne accepted this revision.Dec 25 2018, 1:23 AM
This revision is now accepted and ready to land.Dec 25 2018, 1:23 AM
Closed by commit R499:0855447437d5: Fix Python 3 warning (authored by Nate Graham <>). · Explain WhyDec 26 2018, 12:24 AM
This revision was automatically updated to reflect the committed changes.