Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed import paths for correct namespace #1

Closed
wants to merge 1 commit into from

2 participants

Manish S. Saindane Lavakumar Kuppan
Manish S. Saindane

Fixed include / import paths for the correct namespace within Scripted send setup methods

Lavakumar Kuppan
Owner

Nice catch! Fixed in version 0.9.0.1

Lavakumar Kuppan Lavakumar closed this March 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 07, 2012
Manish S. Saindane Fixed include / import paths for the correct namespace within Scripte…
…d Send setup methods
6433022
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  IronWASP/ManualTesting.cs
4  IronWASP/ManualTesting.cs
@@ -378,7 +378,7 @@ internal static string SetPyScriptedSend(string FunctionCode)
378 378
         {
379 379
             ScriptEngine Engine = Python.CreateEngine();
380 380
             StringBuilder FullCode = new StringBuilder();
381  
-            FullCode.AppendLine("from Iron import *");
  381
+            FullCode.AppendLine("from IronWASP import *");
382 382
             FullCode.AppendLine("class ss(ScriptedSender):");
383 383
             FullCode.AppendLine("\tdef ScriptedSend(self, req):");
384 384
             string[] CodeLines = FunctionCode.Split(new string[] {"\r\n"}, StringSplitOptions.RemoveEmptyEntries);
@@ -399,7 +399,7 @@ internal static string SetRbScriptedSend(string FunctionCode)
399 399
         {
400 400
             ScriptEngine Engine = Ruby.CreateEngine();
401 401
             StringBuilder FullCode = new StringBuilder();
402  
-            FullCode.AppendLine("include Iron");
  402
+            FullCode.AppendLine("include IronWASP");
403 403
             FullCode.AppendLine("class SS < ScriptedSender");
404 404
             FullCode.AppendLine("\tdef scripted_send(req)");
405 405
             string[] CodeLines = FunctionCode.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.