Project: aptanastudio
Issue APSTUD-2573: Pydev local import quick fix does not condense imports from same file
{html}

To reproduce:

class Eggs(object): def spam(): from string import Template return Template('') + digits # Press CTRL+1 on this line. Hold down CTRL while selecting from string for 'string.digits'

result:

class Eggs(object): def spam(): from string import Template from string import digits return Template('') + digits

expected:

class Eggs(object): def spam(): from string import Template, digits return Template('') + digits

{html}
Story points: 1