Fixing license headers in the python folder

This commit is contained in:
Chip Childers 2012-08-20 11:23:41 -04:00
parent 1035da12ec
commit da45ae1150
14 changed files with 212 additions and 156 deletions

View File

@ -1,16 +1,20 @@
#! /usr/bin/python #! /usr/bin/python
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,16 +1,20 @@
#!/usr/bin/python #!/usr/bin/python
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0
#copyright 2012 Citrix Systems, Inc. Licensed under the #
#Apache License, Version 2.0 (the "License"); you may not use this # Unless required by applicable law or agreed to in writing,
#file except in compliance with the License. Citrix Systems, Inc. # software distributed under the License is distributed on an
#reserves all rights not expressly granted by the License. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # KIND, either express or implied. See the License for the
#Unless required by applicable law or agreed to in writing, software # specific language governing permissions and limitations
#distributed under the License is distributed on an "AS IS" BASIS, # under the License.
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
import sys, os import sys, os
from subprocess import PIPE, Popen from subprocess import PIPE, Popen

View File

@ -1,16 +1,20 @@
#! /usr/bin/python #! /usr/bin/python
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,16 +1,20 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,12 +1,16 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import sys import sys
import traceback import traceback
class CloudRuntimeException(Exception): class CloudRuntimeException(Exception):

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import re import re
import tempfile import tempfile
import shutil import shutil

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import MySQLdb import MySQLdb
import os import os
from utilities import bash from utilities import bash

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
class globalEnv: class globalEnv:
def __init__(self): def __init__(self):
#Agent/Server/Db #Agent/Server/Db

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from utilities import bash from utilities import bash
from cloudException import CloudRuntimeException, CloudInternalException from cloudException import CloudRuntimeException, CloudInternalException
import logging import logging

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from utilities import writeProgressBar, bash from utilities import writeProgressBar, bash
from cloudException import CloudRuntimeException, CloudInternalException, formatExceptionInfo from cloudException import CloudRuntimeException, CloudInternalException, formatExceptionInfo
import logging import logging

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from db import Database from db import Database
from configFileOps import configFileOps from configFileOps import configFileOps
from serviceConfig import serviceCfgBase from serviceConfig import serviceCfgBase

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from utilities import Distribution, serviceOpsRedhat,serviceOpsUbuntu from utilities import Distribution, serviceOpsRedhat,serviceOpsUbuntu
from serviceConfig import * from serviceConfig import *
class sysConfigFactory: class sysConfigFactory:

View File

@ -1,15 +1,19 @@
# Copyright 2012 Citrix Systems, Inc. Licensed under the # Licensed to the Apache Software Foundation (ASF) under one
# Apache License, Version 2.0 (the "License"); you may not use this # or more contributor license agreements. See the NOTICE file
# file except in compliance with the License. Citrix Systems, Inc. # distributed with this work for additional information
# reserves all rights not expressly granted by the License. # regarding copyright ownership. The ASF licenses this file
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the
# Unless required by applicable law or agreed to in writing, software # "License"); you may not use this file except in compliance
# distributed under the License is distributed on an "AS IS" BASIS, # with the License. You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #
# Automatically generated by addcopyright.py at 04/03/2012 # http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from cloudException import CloudRuntimeException, formatExceptionInfo from cloudException import CloudRuntimeException, formatExceptionInfo
import logging import logging
from subprocess import PIPE, Popen from subprocess import PIPE, Popen