diff options
author | Joel Granados Moreno <jgranado@redhat.com> | 2009-03-25 14:07:43 +0100 |
---|---|---|
committer | Joel Granados Moreno <jgranado@redhat.com> | 2009-03-25 14:46:41 +0100 |
commit | f7099850b26140c568f72fed9982f3985b84164e (patch) | |
tree | 7c35d7b19ab79d9e66da6c7fc61533128ab8ce7e /storage/formats/fs.py | |
parent | bb4fb4f4288bab359d35464edb75871efc8d350c (diff) | |
download | anaconda-f7099850b26140c568f72fed9982f3985b84164e.tar.gz anaconda-f7099850b26140c568f72fed9982f3985b84164e.tar.xz anaconda-f7099850b26140c568f72fed9982f3985b84164e.zip |
Device is sometimes None.
If its none there is no need to parse it.
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r-- | storage/formats/fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py index 935065125..8864b3aab 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -1012,7 +1012,7 @@ class NFS(FS): _type = "nfs" def _deviceCheck(self, devspec): - if not ":" in devspec: + if devspec is not None and ":" not in devspec: raise ValueError("device must be of the form <host>:<path>") @property |