Changeset 869:808476873684

Show
Ignore:
Timestamp:
2010-05-02 20:41:43 (4 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Replaced licenses in each file with reference to common `LICENSE`
file (suggested by Steve Steiner).

I removed the copyright notice for Roger Demetrescu from
`_test_ftputil.py` because I remembered only after the last commit
that the tests for the `with` statement had gone into their own
file, `_test_with_statement.py`. I added Roger's name there, and
also in `ftp_file.py` which had also gotten `with` support.
Files:
25 modified

Legend:

Unmodified
Added
Removed
  • Makefile

    r860 r869  
    1 # Copyright (C) 2003-2010, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324SHELL=/bin/sh 
  • __init__.py

    r843 r869  
    1 # Copyright (C) 2003, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324# import everything into this namespace to comply with the old interface 
  • _mock_ftplib.py

    r843 r869  
    1 # Copyright (C) 2003-2009, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324""" 
  • _test_base.py

    r843 r869  
    1 # Copyright (C) 2003-2004, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2004, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import _mock_ftplib 
  • _test_ftp_error.py

    r843 r869  
    1 # coding: utf-8 
    2 # Copyright (C) 2002-2009, Stefan Schwarzer 
    3 # All rights reserved. 
    4 # 
    5 # Redistribution and use in source and binary forms, with or without 
    6 # modification, are permitted provided that the following conditions are 
    7 # met: 
    8 # 
    9 # - Redistributions of source code must retain the above copyright 
    10 #   notice, this list of conditions and the following disclaimer. 
    11 # 
    12 # - Redistributions in binary form must reproduce the above copyright 
    13 #   notice, this list of conditions and the following disclaimer in the 
    14 #   documentation and/or other materials provided with the distribution. 
    15 # 
    16 # - Neither the name of the above author nor the names of the 
    17 #   contributors to the software may be used to endorse or promote 
    18 #   products derived from this software without specific prior written 
    19 #   permission. 
    20 # 
    21 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    22 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    23 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    24 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    25 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    26 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    27 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    28 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    29 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    30 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    31 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# encoding: utf-8 
     2# Copyright (C) 2002-2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     3# See the file LICENSE for licensing terms. 
    324 
    335import ftplib 
  • _test_ftp_file.py

    r843 r869  
    1 # Copyright (C) 2002-2010, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2002-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import ftplib 
  • _test_ftp_path.py

    r843 r869  
    1 # Copyright (C) 2003-2007, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2007, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import ftplib 
  • _test_ftp_stat.py

    r852 r869  
    1 # Copyright (C) 2003-2010, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324from __future__ import division 
  • _test_ftp_stat_cache.py

    r843 r869  
    1 # Copyright (C) 2006, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2006, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import time 
  • _test_ftp_sync.py

    r843 r869  
    1 # Copyright (C) 2007-2010, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2007-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import os 
  • _test_ftputil.py

    r867 r869  
    11# Copyright (C) 2002-2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
    2 # Copyright (C) 2008, Roger Demetrescu <roger.demetrescu@gmail.com> 
    3 # All rights reserved. 
    4 # 
    5 # Redistribution and use in source and binary forms, with or without 
    6 # modification, are permitted provided that the following conditions are 
    7 # met: 
    8 # 
    9 # - Redistributions of source code must retain the above copyright 
    10 #   notice, this list of conditions and the following disclaimer. 
    11 # 
    12 # - Redistributions in binary form must reproduce the above copyright 
    13 #   notice, this list of conditions and the following disclaimer in the 
    14 #   documentation and/or other materials provided with the distribution. 
    15 # 
    16 # - Neither the name of the above author nor the names of the 
    17 #   contributors to the software may be used to endorse or promote 
    18 #   products derived from this software without specific prior written 
    19 #   permission. 
    20 # 
    21 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    22 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    23 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    24 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    25 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    26 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    27 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    28 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    29 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    30 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    31 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     2# See the file LICENSE for licensing terms. 
    323 
    334import ftplib 
  • _test_public_servers.py

    r843 r869  
    1 # Copyright (C) 2009, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import os 
  • _test_python2_4.py

    r843 r869  
    1 # Copyright (C) 2003-2009, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import unittest 
  • _test_real_ftp.py

    r858 r869  
    1 # Copyright (C) 2003-2010, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324# Execute a test on a real FTP server (other tests use a mock server) 
  • _test_with_statement.py

    r843 r869  
    1 # Copyright (C) 2008, Roger Demetrescu, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2008, Roger Demetrescu <roger.demetrescu@gmail.com> 
     2# Copyright (C) 2008, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     3# See the file LICENSE for licensing terms. 
    314 
    325from __future__ import with_statement 
  • find_deprecated_code.py

    r843 r869  
    11#! /usr/bin/env python 
    2 # Copyright (C) 2008, Stefan Schwarzer 
    3 # All rights reserved. 
    4 # 
    5 # Redistribution and use in source and binary forms, with or without 
    6 # modification, are permitted provided that the following conditions are 
    7 # met: 
    8 # 
    9 # - Redistributions of source code must retain the above copyright 
    10 #   notice, this list of conditions and the following disclaimer. 
    11 # 
    12 # - Redistributions in binary form must reproduce the above copyright 
    13 #   notice, this list of conditions and the following disclaimer in the 
    14 #   documentation and/or other materials provided with the distribution. 
    15 # 
    16 # - Neither the name of the above author nor the names of the 
    17 #   contributors to the software may be used to endorse or promote 
    18 #   products derived from this software without specific prior written 
    19 #   permission. 
    20 # 
    21 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    22 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    23 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    24 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    25 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    26 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    27 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    28 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    29 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    30 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    31 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     2# Copyright (C) 2008, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     3# See the file LICENSE for licensing terms. 
    324 
    335# pylint: disable-msg=W0622 
  • ftp_error.py

    r843 r869  
    11# Copyright (C) 2003-2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     2# See the file LICENSE for licensing terms. 
    313 
    324""" 
  • ftp_file.py

    r843 r869  
    11# Copyright (C) 2003-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     2# Copyright (C) 2008, Roger Demetrescu <roger.demetrescu@gmail.com> 
     3# See the file LICENSE for licensing terms. 
    314 
    325""" 
  • ftp_path.py

    r843 r869  
    1 # Copyright (C) 2003-2008, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2003-2008, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324""" 
  • ftp_stat.py

    r852 r869  
    1 # Copyright (C) 2002-2010, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2002-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324""" 
  • ftp_stat_cache.py

    r843 r869  
    1 # Copyright (C) 2006-2009, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2006-2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324""" 
  • ftp_sync.py

    r843 r869  
    1 # Copyright (C) 2007, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2007, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324""" 
  • ftputil.py

    r867 r869  
    11# Copyright (C) 2002-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
    22# Copyright (C) 2008, Roger Demetrescu <roger.demetrescu@gmail.com> 
    3 # All rights reserved. 
    4 # 
    5 # Redistribution and use in source and binary forms, with or without 
    6 # modification, are permitted provided that the following conditions are 
    7 # met: 
    8 # 
    9 # - Redistributions of source code must retain the above copyright 
    10 #   notice, this list of conditions and the following disclaimer. 
    11 # 
    12 # - Redistributions in binary form must reproduce the above copyright 
    13 #   notice, this list of conditions and the following disclaimer in the 
    14 #   documentation and/or other materials provided with the distribution. 
    15 # 
    16 # - Neither the name of the above author nor the names of the 
    17 #   contributors to the software may be used to endorse or promote 
    18 #   products derived from this software without specific prior written 
    19 #   permission. 
    20 # 
    21 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    22 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    23 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    24 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    25 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    26 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    27 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    28 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    29 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    30 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    31 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     3# See the file LICENSE for licensing terms. 
    324 
    335""" 
  • ftputil_version.py

    r843 r869  
    1 # Copyright (C) 2006-2010, Stefan Schwarzer 
    2 # All rights reserved. 
    3 # 
    4 # Redistribution and use in source and binary forms, with or without 
    5 # modification, are permitted provided that the following conditions are 
    6 # met: 
    7 # 
    8 # - Redistributions of source code must retain the above copyright 
    9 #   notice, this list of conditions and the following disclaimer. 
    10 # 
    11 # - Redistributions in binary form must reproduce the above copyright 
    12 #   notice, this list of conditions and the following disclaimer in the 
    13 #   documentation and/or other materials provided with the distribution. 
    14 # 
    15 # - Neither the name of the above author nor the names of the 
    16 #   contributors to the software may be used to endorse or promote 
    17 #   products derived from this software without specific prior written 
    18 #   permission. 
    19 # 
    20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    21 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     1# Copyright (C) 2006-2010, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     2# See the file LICENSE for licensing terms. 
    313 
    324import sys 
  • setup.py

    r861 r869  
    11#! /usr/bin/env python 
    2  
    3 # Copyright (C) 2003-2009, Stefan Schwarzer 
    4 # All rights reserved. 
    5 # 
    6 # Redistribution and use in source and binary forms, with or without 
    7 # modification, are permitted provided that the following conditions are 
    8 # met: 
    9 # 
    10 # - Redistributions of source code must retain the above copyright 
    11 #   notice, this list of conditions and the following disclaimer. 
    12 # 
    13 # - Redistributions in binary form must reproduce the above copyright 
    14 #   notice, this list of conditions and the following disclaimer in the 
    15 #   documentation and/or other materials provided with the distribution. 
    16 # 
    17 # - Neither the name of the above author nor the names of the 
    18 #   contributors to the software may be used to endorse or promote 
    19 #   products derived from this software without specific prior written 
    20 #   permission. 
    21 # 
    22 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    23 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    24 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
    25 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
    26 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
    27 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
    28 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
    29 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
    30 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    31 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    32 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     2# Copyright (C) 2003-2009, Stefan Schwarzer <sschwarzer@sschwarzer.net> 
     3# See the file LICENSE for licensing terms. 
    334 
    345"""