old_contents: #!/usr/bin/python
  #
  # Copyright (c) 2011 rPath, Inc.
  #
  # All rights reserved.
  #
  
  from django.core.exceptions import ObjectDoesNotExist
  
  from mint.django_rest.rbuilder.manager import basemanager
  from mint.django_rest.rbuilder.manager.basemanager import exposed
  from mint.django_rest.rbuilder.packages import models
  
  class PackageManager(basemanager.BaseManager):
  
      @exposed 
      def getPackages(self):
          packages = models.Packages()
          packages.package = models.Package.objects.all()
          return packages
  
      @exposed
      def getPackage(self, package_id):
          package = models.Package.objects.get(pk=package_id)
          return package
  
      @exposed
      def updatePackage(self, package):
          pass
  
      @exposed
      def addPackage(self, package):
          pass
  
new_contents: #!/usr/bin/python
  #
  # Copyright (c) 2011 rPath, Inc.
  #
  # All rights reserved.
  #
  
  from mint.django_rest.rbuilder.manager import basemanager
  from mint.django_rest.rbuilder.manager.basemanager import exposed
  from mint.django_rest.rbuilder.packages import models
  
  class PackageManager(basemanager.BaseManager):
  
      @exposed 
      def getPackages(self):
          packages = models.Packages()
          packages.package = models.Package.objects.all()
          return packages
  
      @exposed
      def getPackage(self, package_id):
          package = models.Package.objects.get(pk=package_id)
          return package
  
      @exposed
      def updatePackage(self, package):
          pass
  
      @exposed
      def addPackage(self, package):
          pass
  
subject: Remove unused import