Commit 21e4a9c0 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

COMP: missing return

No related merge requests found
Showing with 12 additions and 12 deletions
+12 -12
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) # Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
# #
...@@ -69,7 +69,7 @@ def GetApplicationExamplePythonSnippet(app,idx,expand = False, inputpath="",outp ...@@ -69,7 +69,7 @@ def GetApplicationExamplePythonSnippet(app,idx,expand = False, inputpath="",outp
output = "" output = ""
output += ".. code-block:: python\n\n" output += ".. code-block:: python\n\n"
print(app.GetName())
# Render example comment # Render example comment
if len(app.GetExampleComment(idx)) > 0: if len(app.GetExampleComment(idx)) > 0:
output += "\t# {}\n".format(app.GetExampleComment(idx)) output += "\t# {}\n".format(app.GetExampleComment(idx))
......
...@@ -90,7 +90,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -90,7 +90,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetShortRunEmphasisOutput() ::GetShortRunEmphasisOutput()
{ {
this->GetOutput(0); return this->GetOutput(0);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -99,7 +99,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -99,7 +99,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetLongRunEmphasisOutput() ::GetLongRunEmphasisOutput()
{ {
this->GetOutput(1); return this->GetOutput(1);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -108,7 +108,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -108,7 +108,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetGreyLevelNonuniformityOutput() ::GetGreyLevelNonuniformityOutput()
{ {
this->GetOutput(2); return this->GetOutput(2);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -117,7 +117,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -117,7 +117,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetRunLengthNonuniformityOutput() ::GetRunLengthNonuniformityOutput()
{ {
this->GetOutput(3); return this->GetOutput(3);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -126,7 +126,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -126,7 +126,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetLowGreyLevelRunEmphasisOutput() ::GetLowGreyLevelRunEmphasisOutput()
{ {
this->GetOutput(4); return this->GetOutput(4);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -135,7 +135,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -135,7 +135,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetHighGreyLevelRunEmphasisOutput() ::GetHighGreyLevelRunEmphasisOutput()
{ {
this->GetOutput(5); return this->GetOutput(5);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -144,7 +144,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -144,7 +144,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetShortRunLowGreyLevelEmphasisOutput() ::GetShortRunLowGreyLevelEmphasisOutput()
{ {
this->GetOutput(6); return this->GetOutput(6);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -153,7 +153,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -153,7 +153,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetShortRunHighGreyLevelEmphasisOutput() ::GetShortRunHighGreyLevelEmphasisOutput()
{ {
this->GetOutput(7); return this->GetOutput(7);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -162,7 +162,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -162,7 +162,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetLongRunLowGreyLevelEmphasisOutput() ::GetLongRunLowGreyLevelEmphasisOutput()
{ {
this->GetOutput(8); return this->GetOutput(8);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
...@@ -171,7 +171,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ...@@ -171,7 +171,7 @@ typename ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage> ScalarImageToHigherOrderTexturesFilter<TInputImage, TOutputImage>
::GetLongRunHighGreyLevelEmphasisOutput() ::GetLongRunHighGreyLevelEmphasisOutput()
{ {
this->GetOutput(9); return this->GetOutput(9);
} }
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment