from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals

import warehouse.migrations.cli


def include(module):
    return getattr(module, "__commands__", {})


__commands__ = {
    "migrate": include(warehouse.migrations.cli),
}

from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals

import warehouse.migrations.cli


__commands__ = {
    "migrate": warehouse.migrations.cli.__commands__,
}

Remove a useless function call
Remove a useless function call

  from __future__ import absolute_import, division, print_function
  from __future__ import unicode_literals
  
  import warehouse.migrations.cli
  
  
- def include(module):
-     return getattr(module, "__commands__", {})
- 
- 
  __commands__ = {
-     "migrate": include(warehouse.migrations.cli),
+     "migrate": warehouse.migrations.cli.__commands__,
  }
  
Remove a useless function call
## Code Before:
from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals

import warehouse.migrations.cli


def include(module):
    return getattr(module, "__commands__", {})


__commands__ = {
    "migrate": include(warehouse.migrations.cli),
}

## Instruction:
Remove a useless function call
## Code After:
from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals

import warehouse.migrations.cli


__commands__ = {
    "migrate": warehouse.migrations.cli.__commands__,
}
