Cannot os.rename() a directory

but can os.renames().
Cannot renames either, need to shutil.move

Also, remove the trailing / for the renaming
Update glexecComputingElement.py

Status codes < 127 mean glexec worked but the script it ran produced an error. This change allows Application Failed with Errors results to show through, rather than be masked by false "glexec CE submission" errors.
Added getNumberOfCores()
First import
Use multiprcessing module utility to get number of cores
If Operations object is created without arguments, assume VO of the
current user
in getReplicas() rebuild PFN if useCatalogPFN is False
Use Operations('DataManagement/UseCatalohPFN')
Merge pull request #1916 from Andrew-McNab-UK/rel-v6r10

[v6r10] Update glexecComputingElement.py
Merge pull request #1918 from atsareg/fix-v6r10

[v6r10] ReplicaManager rebuilding PFNs
v6r10p22 notes
Removed redundant getPfnForLfn() calls
Merge pull request #2 from DIRACGrid/rel-v6r11

Rel v6r11
__init__() got an unexpected keyword argument 'requireVoms'

class ProxyDB( DB ):
def __init__( self,
useMyProxy = False,
maxQueueSize = 10 ):
Change default SharedArea

Relative directories cannot work. Assume $HOME instead.

Needs checking/testing as even if it should work, not guaranteed.
FIX: create vomses and vomsdir when VOMS server are in /Registry/VO
Added more logging
FIX: use data member for the useCatalogPFN flag
FIX: use PFN in __removePhysicalReplica()