OSDN Git Service
(root)
/
meshio
/
pymeshio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e713837
)
add warnings
author
ousttrue
<ousttrue@gmail.com>
Sat, 1 Oct 2011 05:25:22 +0000
(14:25 +0900)
committer
ousttrue
<ousttrue@gmail.com>
Sat, 1 Oct 2011 05:25:22 +0000
(14:25 +0900)
pymeshio/mqo/__init__.py
patch
|
blob
|
history
diff --git
a/pymeshio/mqo/__init__.py
b/pymeshio/mqo/__init__.py
index
e986d42
..
e00d9ae
100644
(file)
--- a/
pymeshio/mqo/__init__.py
+++ b/
pymeshio/mqo/__init__.py
@@
-9,6
+9,7
@@
import sys
import math
\r
import pymeshio.common
\r
import pymeshio.mqo.loader
\r
+import warnings
\r
\r
\r
"""
\r
@@
-231,6
+232,7
@@
class IO(object):
pass
\r
\r
def read(self, path):
\r
+ warnings.warn("'pymeshio.mqo.IO.read' will be replaced by 'pymeshio.mqo.loader.load'")
\r
model=pymeshio.mqo.loader.load(path)
\r
if model:
\r
self.has_mikoto=model.has_mikoto
\r