Changeset 42 in tailor


Ignore:
Timestamp:
07/04/04 18:31:06 (9 years ago)
Author:
lele@…
Hash name:
20040704163106-97f81-b7bc8e65c935a046e5f966d8a3c78ddae286c641
Message:

Use socket.getfqdn() for the automatic tailorer email

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/target.py

    r38 r42  
    1313__docformat__ = 'reStructuredText' 
    1414 
    15 PATCH_AUTHOR = "tailor@localhost" 
     15import socket 
     16 
     17HOST = socket.getfqdn() 
     18AUTHOR = "tailor" 
    1619 
    1720class SyncronizableTargetWorkingDir(object): 
     
    102105        now = datetime.now() 
    103106        self._initializeWorkingDir(root) 
    104         self._commit(root, now, PATCH_AUTHOR, 
     107        self._commit(root, now, '%s@%s' % (AUTHOR, HOST), 
    105108                     'Tailorization of %s@%s' % (repository, revision)) 
    106109 
Note: See TracChangeset for help on using the changeset viewer.