Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 243260
Collapse All | Expand All

(-)WebappConfig/worker.py (+2 lines)
Lines 386-391 Link Here
386
                           dirtype,
386
                           dirtype,
387
                           self.__destd,
387
                           self.__destd,
388
                           directory,
388
                           directory,
389
                           directory,
389
                           self.__relative)
390
                           self.__relative)
390
391
391
    def mkfile(self, filename):
392
    def mkfile(self, filename):
Lines 555-560 Link Here
555
                           file_type,
556
                           file_type,
556
                           self.__destd,
557
                           self.__destd,
557
                           filename,
558
                           filename,
559
			   dst_name,
558
                           self.__relative)
560
                           self.__relative)
559
561
560
562
(-)WebappConfig/content.py (-2 / +5 lines)
Lines 321-326 Link Here
321
            ctype,
321
            ctype,
322
            destination,
322
            destination,
323
            path,
323
            path,
324
	    real_path,
324
            relative = True):
325
            relative = True):
325
        '''
326
        '''
326
        Add an entry to the contents file.
327
        Add an entry to the contents file.
Lines 376-382 Link Here
376
          ctype       - internal webapp-config type
377
          ctype       - internal webapp-config type
377
                      - (server-owned | config-owned | virtual)
378
                      - (server-owned | config-owned | virtual)
378
          destination - install dir (normally $G_INSTALLDIR)
379
          destination - install dir (normally $G_INSTALLDIR)
379
          entry       - filename inside 'destination'
380
          path        - filename inside 'destination'
381
          real_path    - for config-protected files realpath =! path
382
	                (and this is important for md5)
380
          relative    - 1 for storing a relative filename, 0 otherwise
383
          relative    - 1 for storing a relative filename, 0 otherwise
381
384
382
        >>> OUT.color_off()
385
        >>> OUT.color_off()
Lines 509-515 Link Here
509
                                      ctype,
512
                                      ctype,
510
                                      '"' + path + '"',
513
                                      '"' + path + '"',
511
                                      self.file_time(entry),
514
                                      self.file_time(entry),
512
                                      a[1](entry),
515
                                      a[1](real_path),
513
                                      a[2](entry)]
516
                                      a[2](entry)]
514
517
515
            if self.__v:
518
            if self.__v:

Return to bug 243260