Project

Profile

Help

Task #2323 ยป storage-migration.patch

recommended patch. - jortel@redhat.com, 10/14/2016 10:30 PM

View differences:

pulp-2.8.7/server/pulp/plugins/migration/standard_storage_path.py 2016-09-22 16:54:10.521420391 -0400
23 23
from collections import namedtuple
24 24
from hashlib import sha256
25 25
from itertools import chain
26
from logging import getLogger
26 27

  
27 28
from pulp.plugins.util.misc import mkdir
28 29
from pulp.server.config import config
29 30

  
30 31

  
32
log = getLogger(__name__)
33

  
34

  
31 35
# stored in the Batch
32 36
Item = namedtuple(
33 37
    'Item',
......
313 317
          1. Batch the migration.
314 318
          2. Delete empty directories created by the migration.
315 319
        """
320

  
321
        # Re: bug:1381702
322
        log.info('Standard storage path migration skipped.')
323
        return
324

  
316 325
        batch = Batch()
317 326
        for unit in chain(*self.plans):
318 327
            batch.add(unit)
    (1-1/1)