Statistics
| Branch: | Tag: | Revision:

root / ncclient / __init__.py @ 06fd555b

History | View | Annotate | Download (767 Bytes)

1 589b23e4 Shikhar Bhushan
# Copyright 2009 Shikhar Bhushan
2 589b23e4 Shikhar Bhushan
#
3 589b23e4 Shikhar Bhushan
# Licensed under the Apache License, Version 2.0 (the "License");
4 589b23e4 Shikhar Bhushan
# you may not use this file except in compliance with the License.
5 589b23e4 Shikhar Bhushan
# You may obtain a copy of the License at
6 589b23e4 Shikhar Bhushan
#
7 589b23e4 Shikhar Bhushan
#    http://www.apache.org/licenses/LICENSE-2.0
8 589b23e4 Shikhar Bhushan
#
9 589b23e4 Shikhar Bhushan
# Unless required by applicable law or agreed to in writing, software
10 589b23e4 Shikhar Bhushan
# distributed under the License is distributed on an "AS IS" BASIS,
11 589b23e4 Shikhar Bhushan
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 589b23e4 Shikhar Bhushan
# See the License for the specific language governing permissions and
13 589b23e4 Shikhar Bhushan
# limitations under the License.
14 589b23e4 Shikhar Bhushan
15 a956ef07 Shikhar Bhushan
import sys
16 a956ef07 Shikhar Bhushan
17 ea04739a Shikhar Bhushan
if sys.version_info < (2, 6):
18 ea04739a Shikhar Bhushan
    raise RuntimeError('You need Python 2.6+ for this module.')
19 a956ef07 Shikhar Bhushan
20 a14c36f9 Shikhar Bhushan
class NCClientError(Exception):
21 216bb34c Shikhar Bhushan
    "Base type for all NCClient errors"
22 a14c36f9 Shikhar Bhushan
    pass