hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
95dda5018c4e198675b7901fc9ac253470d6ebe3 | diff --git a/lib/bolt/cli.rb b/lib/bolt/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/bolt/cli.rb
+++ b/lib/bolt/cli.rb
@@ -204,6 +204,10 @@ module Bolt
if options[:subcommand] == 'apply' && (!options[:object] && !options[:code])
raise Bolt::CLIError, "a manifest file or --execute is required"
end... | (BOLT-<I>) Error with helpful message when no CLI command given
Previously an missing command argument would result in a stack trace. This commit validates that a command is given when invoking `bolt command run` on the CLI is a string with at least one character. Note this validation is modeled after the plan functio... | puppetlabs_bolt | train |
e90f41d83f2bc20e73fa8840c8ce73b987250bb1 | diff --git a/bugzoo/cli/controllers/bug.py b/bugzoo/cli/controllers/bug.py
index <HASH>..<HASH> 100644
--- a/bugzoo/cli/controllers/bug.py
+++ b/bugzoo/cli/controllers/bug.py
@@ -151,6 +151,7 @@ class BugController(cement.Controller):
def coverage(self) -> None:
name_bug = self.app.pargs.bug
bz =... | Fixed use-before-define bug in "bugzoo bug coverage" command (#<I>) | squaresLab_BugZoo | train |
6fe0540eb870cb509acdf7c4c660c40d420c8d24 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -12,46 +12,61 @@ const format = function(msg, ...args) {
return util.formatWithOptions({colors: true}, msg, ...args);
};
+class Lap {
+ constructor(started, timer) {
+ this.elapsed = 0;
+ this.started = started;
+... | rewrite
- add Lap class
- rename `total` property to `elapsed`
- rename `parallels` property to `pending`
- the `laps` property is now an array of times (instead of the lap count)
- remove `add` method
- add `sum` method
- make `average` method use `sum` instead of `elapsed` | aleclarson_elaps | train |
507a204249fbfe528b8d3caae7a64b35beab5d14 | diff --git a/odb.go b/odb.go
index <HASH>..<HASH> 100644
--- a/odb.go
+++ b/odb.go
@@ -22,7 +22,7 @@ type OdbBackend struct {
Ptr *C.git_odb_backend
}
-func InitOdb() (odb *Odb, err error) {
+func NewOdb() (odb *Odb, err error) {
odb = new(Odb)
ret := C.git_odb_new(&odb.ptr)
diff --git a/repository.go b/r... | Rename constructor functions to New... | libgit2_git2go | train |
fe9bb1b4f2e96f3fc00038e04436be8afb749d93 | diff --git a/src/main/webapp/js/Plugins/propertywindow.js b/src/main/webapp/js/Plugins/propertywindow.js
index <HASH>..<HASH> 100644
--- a/src/main/webapp/js/Plugins/propertywindow.js
+++ b/src/main/webapp/js/Plugins/propertywindow.js
@@ -1735,6 +1735,7 @@ Ext.form.ComplexNotificationsField = Ext.extend(Ext.form.Trigge... | BZ <I> - fixed notifications body editor window | kiegroup_jbpm-designer | train |
c829e39b22374a808c5e2e6abc6e82e99e736998 | diff --git a/director/lib/director/jobs/update_release.rb b/director/lib/director/jobs/update_release.rb
index <HASH>..<HASH> 100644
--- a/director/lib/director/jobs/update_release.rb
+++ b/director/lib/director/jobs/update_release.rb
@@ -71,7 +71,11 @@ module Bosh::Director
end
rescue Exception => ... | cleanup models that were created during a bad request | cloudfoundry_bosh | train |
1bedaa474e10b2d3698a851077818a904a7b96ea | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,7 @@ INSTALL_REQUIRES = [
'requests>=2.5',
'cached-property>=1.5',
'python-dateutil>=2.4',
+ # NOTE: Can be removed after a fix:
# https://github.com/tobgu/pyrsistent/issues/208
'pyrsisten... | Added a comment for the Travis/py2 problem | frictionlessdata_tableschema-py | train |
ff5dea4a2a1aeb1772f51b75060410900883b7dd | diff --git a/tools/c7n_org/c7n_org/cli.py b/tools/c7n_org/c7n_org/cli.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_org/c7n_org/cli.py
+++ b/tools/c7n_org/c7n_org/cli.py
@@ -17,11 +17,17 @@
from collections import Counter
import logging
import os
-import multiprocessing
import time
import subprocess
+import six
... | tools/c7n-org - chained sts role support (#<I>) | cloud-custodian_cloud-custodian | train |
1a91395f1d28bf8b1a678f7ba0d5b4acc6deb360 | diff --git a/lib/inline_forms.rb b/lib/inline_forms.rb
index <HASH>..<HASH> 100644
--- a/lib/inline_forms.rb
+++ b/lib/inline_forms.rb
@@ -1,15 +1,15 @@
require ('inline_forms/version.rb')
-#puts "Loading inline_forms version #{InlineForms::VERSION}"
+# InlineForms is a Rails Engine that let you setup an admin interfa... | playing with the engine definition, and updated docs | acesuares_inline_forms | train |
e0a83cb416af603e9f077cd863135cbad7e41b3d | diff --git a/lib/prawn_commander.rb b/lib/prawn_commander.rb
index <HASH>..<HASH> 100644
--- a/lib/prawn_commander.rb
+++ b/lib/prawn_commander.rb
@@ -7,6 +7,14 @@ module Prawn
@prawn_commands = []
@options = options
end
+
+ def prawn_commands(&block)
+ ... | added block arg to prawn_commands for testing convenience etc | kristianmandrup_prawn_commander | train |
2b0071e8b0e091bc8368a9b05dddfec4400e5b9e | diff --git a/spec/frameworks_rules_spec.rb b/spec/frameworks_rules_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/frameworks_rules_spec.rb
+++ b/spec/frameworks_rules_spec.rb
@@ -26,7 +26,7 @@ describe 'Frameworks rules' do
expect(repository.primary_frameworks).to eq ['Rails']
end
- it 'does not return... | explode additional rule specs for all gem based rules
We want full spec coverage for our matchers. That currently means we
duplicate the added specs for gem based rules from Rails to the other
ones.
We might introduce some extended rule matchers for such cases which
would allow to drop the number of copied specs late... | koffeinfrei_technologist | train |
ac318faf5ac08888a01564bc9a4530dbb4c003ca | diff --git a/cake/tests/cases/libs/html_coverage_report.test.php b/cake/tests/cases/libs/html_coverage_report.test.php
index <HASH>..<HASH> 100644
--- a/cake/tests/cases/libs/html_coverage_report.test.php
+++ b/cake/tests/cases/libs/html_coverage_report.test.php
@@ -61,7 +61,7 @@ class HtmlCoverageReportTest extends Ca... | Switching back to using non raw code coverage data as it has been filtered by phpunit's filters. combining the data from phpunit into a singular cohesive report. | cakephp_cakephp | train |
b4100f88a80e621bca68627a88bb17bc27bdba32 | diff --git a/agrona/src/main/java/org/agrona/concurrent/AgentInvoker.java b/agrona/src/main/java/org/agrona/concurrent/AgentInvoker.java
index <HASH>..<HASH> 100644
--- a/agrona/src/main/java/org/agrona/concurrent/AgentInvoker.java
+++ b/agrona/src/main/java/org/agrona/concurrent/AgentInvoker.java
@@ -146,7 +146,6 @@ p... | [Java] Remove clearing of interrupted flag in AgentInvoker. Issue #<I>. | real-logic_agrona | train |
397a0756b8e9d43d08e0d6812a79349af5b454c4 | diff --git a/lib/auth.strategies/anonymous.js b/lib/auth.strategies/anonymous.js
index <HASH>..<HASH> 100644
--- a/lib/auth.strategies/anonymous.js
+++ b/lib/auth.strategies/anonymous.js
@@ -1,5 +1,5 @@
/*!
- * Copyright(c) 2010 Ciaran Jessup <ciaranj@gmai.com>
+ * Copyright(c) 2010 Ciaran Jessup <ciaranj@gmail.com>
... | Oops, my copyright header had an invalid e-mail address | ciaranj_connect-auth | train |
800dad316341f18b40e29db1acfc06d3dd21c093 | diff --git a/securesystemslib/hash.py b/securesystemslib/hash.py
index <HASH>..<HASH> 100755
--- a/securesystemslib/hash.py
+++ b/securesystemslib/hash.py
@@ -194,7 +194,9 @@ def digest(algorithm=DEFAULT_HASH_ALGORITHM, hash_library=DEFAULT_HASH_LIBRARY):
else:
return hashlib.new(algorithm)
- excep... | hash: raise UnsupportedAlgorithmError, not TypeError
This raises TypeError on python < <I>:
hashlib.new('blake2b', digest_size=<I>)
because the argument is unexpected: re-raise as
UnsupportedAlgorithmError | secure-systems-lab_securesystemslib | train |
289d99db7cca7c26be9d0e56a8512ff65ca999ab | diff --git a/ignite/metrics/gan/fid.py b/ignite/metrics/gan/fid.py
index <HASH>..<HASH> 100644
--- a/ignite/metrics/gan/fid.py
+++ b/ignite/metrics/gan/fid.py
@@ -22,7 +22,7 @@ def fid_score(
raise RuntimeError("fid_score requires numpy to be installed.")
try:
- import scipy
+ import scipy... | Fix fid import scipy (#<I>)
* fix fid
* merged from master | pytorch_ignite | train |
85c462847a564abd20e5c8aaa12b0d150de12d1e | diff --git a/ninio-core/src/test/java/com/davfx/ninio/core/TcpdumpTest.java b/ninio-core/src/test/java/com/davfx/ninio/core/TcpdumpTest.java
index <HASH>..<HASH> 100644
--- a/ninio-core/src/test/java/com/davfx/ninio/core/TcpdumpTest.java
+++ b/ninio-core/src/test/java/com/davfx/ninio/core/TcpdumpTest.java
@@ -4,6 +4,7 ... | Ignoring too much machine-dependent test | davidfauthoux_ninio | train |
7fe931cfcea4fc5c5abcf1b95b874565afb61af3 | diff --git a/base/assets/resource-smart-load.js b/base/assets/resource-smart-load.js
index <HASH>..<HASH> 100644
--- a/base/assets/resource-smart-load.js
+++ b/base/assets/resource-smart-load.js
@@ -1,3 +1,4 @@
+;
(function () {
"use strict";
if (window.yiiResourceSmartLoadPrivateObj) { | - refactored: restored leading semi-colon | IStranger_yii2-resource-smart-load | train |
6e5e0c9363e1d47f33179806aaf4ba6d2612dbb6 | diff --git a/index.php b/index.php
index <HASH>..<HASH> 100644
--- a/index.php
+++ b/index.php
@@ -187,6 +187,7 @@
if (!empty($USER->id)) {
$SESSION->fromdiscussion = $CFG->wwwroot;
+ $subtext = '';
if (forum_is_subscribed($... | "FORUM/MDL-<I>, declare subtext varible before use it, merged from <I>" | moodle_moodle | train |
84a9db331f8642a22468b6a03afe140c9962fd7e | diff --git a/lang/en_utf8/forum.php b/lang/en_utf8/forum.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/forum.php
+++ b/lang/en_utf8/forum.php
@@ -59,7 +59,7 @@ $string['displayperiod'] = 'Display Period';
$string['displaystart'] = 'Display start';
$string['eachuserforum'] = 'Each person posts one discussion';
$... | Bug #<I> - editing forum post bug; merged from MOODLE_<I>_STABLE | moodle_moodle | train |
bc33e03679d99e5da67a40ef3f0173c1e3efc877 | diff --git a/lib/omnibus/builder.rb b/lib/omnibus/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/builder.rb
+++ b/lib/omnibus/builder.rb
@@ -573,29 +573,6 @@ module Omnibus
# --------------------------------------------------
#
- # @!group Deprecated DSL methods
- #
- # The following DSL ... | Remove deprecated Builder.project_root | chef_omnibus | train |
9852c7012e9707e24336bebc5e44eb55cba14344 | diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py
index <HASH>..<HASH> 100755
--- a/fontbakery-check-ttf.py
+++ b/fontbakery-check-ttf.py
@@ -247,7 +247,8 @@ ghm_report_files = []
class FontBakeryCheckLogger():
progressbar = False
- def __init__(self):
+ def __init__(self, config):
+ self.config... | minor FontBakeryCheckLogger refactoring
gradually reducing reliance on global vars | googlefonts_fontbakery | train |
c96f6a1a8c7b6bf2f4860c667867d90174799eb2 | diff --git a/logger.go b/logger.go
index <HASH>..<HASH> 100644
--- a/logger.go
+++ b/logger.go
@@ -6,6 +6,7 @@ package logger
import (
"fmt"
+ "io/ioutil"
"log"
"os"
"strings"
@@ -37,6 +38,13 @@ type Logger struct {
var DefaultLogger = New()
func New() *Logger {
+ if os.Getenv("LOGGER_DISCARD") != "" {
+... | Support LOGGER_DISCARD | calmh_logger | train |
0a1898e9a78882a29ce7d4b9a5fa60bc0609252c | diff --git a/CustomFields/CustomFieldChoice.php b/CustomFields/CustomFieldChoice.php
index <HASH>..<HASH> 100644
--- a/CustomFields/CustomFieldChoice.php
+++ b/CustomFields/CustomFieldChoice.php
@@ -177,7 +177,35 @@ class CustomFieldChoice extends AbstractCustomField
public function isEmptyValue($value, Cust... | take into account the different type of choices in empty value | Chill-project_CustomFields | train |
e73dfdc0e25adfed36594b0f32aade294c3b0593 | diff --git a/taxi/commands.py b/taxi/commands.py
index <HASH>..<HASH> 100644
--- a/taxi/commands.py
+++ b/taxi/commands.py
@@ -431,7 +431,6 @@ class EditCommand(BaseTimesheetCommand):
if auto_fill_days:
t.prefill(auto_fill_days, limit=None)
- t.entries[datetime.dat... | Don't erase current date entries when running the edit command | liip_taxi | train |
6fcc928d251827dbcc1f9474c753712806238849 | diff --git a/src/KPhoen/DoctrineStateMachineBehavior/Listener/PersistenceListener.php b/src/KPhoen/DoctrineStateMachineBehavior/Listener/PersistenceListener.php
index <HASH>..<HASH> 100644
--- a/src/KPhoen/DoctrineStateMachineBehavior/Listener/PersistenceListener.php
+++ b/src/KPhoen/DoctrineStateMachineBehavior/Listen... | doctrine inheritance support, by checking mapping for parent classes | K-Phoen_DoctrineStateMachineBehavior | train |
eae67da2c771bee54b6b34b63f874c29005612af | diff --git a/lib/cms-fortress.rb b/lib/cms-fortress.rb
index <HASH>..<HASH> 100644
--- a/lib/cms-fortress.rb
+++ b/lib/cms-fortress.rb
@@ -3,6 +3,7 @@ require 'devise'
require 'cancan'
require 'aasm'
require 'tinymce-rails'
+require 'tinymce-rails-langs'
require_relative 'comfortable_mexican_sofa/fixture/page' | Require tinymce-rails-langs for proper langfile integration | melvinsembrano_cms-fortress | train |
3fdf9e5c77cc79587aef3bcc4c4232e7f1f33408 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
## Master
-No changes yet.
+- [#435][] Fix pressing `C-c` when interactor thread is not started. ([@netzpirat][])
## 1.8.2 - 30 July, 2013
diff --git a/lib/guard.rb b/lib/guard.rb
index <HA... | Fix pressing `C-c` when interactor thread is not started. (Fixes #<I>) | guard_guard | train |
077655d9b6c2e9c2539037d8ab4d01814d6f5b95 | diff --git a/lib/auxly/_modu.py b/lib/auxly/_modu.py
index <HASH>..<HASH> 100644
--- a/lib/auxly/_modu.py
+++ b/lib/auxly/_modu.py
@@ -60,11 +60,6 @@ def trycatch(*args, **kwargs):
- rethrow (str) [kwargs] - If true, exception will be re-thrown.
**Examples**:
- ::
-
- trycatch(myfunc)(myarg1, my... | Attempt to fix docs. | jeffrimko_Auxly | train |
b43e9192b313176602a8b9dc733f092260c8b301 | diff --git a/aws-sdk-core/lib/seahorse/client/http/response.rb b/aws-sdk-core/lib/seahorse/client/http/response.rb
index <HASH>..<HASH> 100644
--- a/aws-sdk-core/lib/seahorse/client/http/response.rb
+++ b/aws-sdk-core/lib/seahorse/client/http/response.rb
@@ -12,6 +12,8 @@ module Seahorse
@body = options[:bod... | Initializing a few instance variable before use to squelch warnings.
Closes <URL> | aws_aws-sdk-ruby | train |
7f593d9e90f12d4827ba7622a44e4c123b05bb31 | diff --git a/Lib/fontParts/nonelab/image.py b/Lib/fontParts/nonelab/image.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/nonelab/image.py
+++ b/Lib/fontParts/nonelab/image.py
@@ -51,6 +51,8 @@ class RImage(RBaseObject, BaseImage):
def _set_data(self, value):
from ufoLib.validators import pngValidato... | Don't assume that the incoming data is the right type. | robotools_fontParts | train |
5f8483e648c33647166b45bb3a11c028e16492fe | diff --git a/netjsonconfig/backends/openwrt/converters.py b/netjsonconfig/backends/openwrt/converters.py
index <HASH>..<HASH> 100644
--- a/netjsonconfig/backends/openwrt/converters.py
+++ b/netjsonconfig/backends/openwrt/converters.py
@@ -215,8 +215,9 @@ class Interfaces(BaseConverter):
# to these physical... | [openwrt] Fixed repeated bridge gateway case
Bug inadvertently introduced in 4f8d<I> | openwisp_netjsonconfig | train |
2c11a2a3a4a9fa3450866e9410d5b21c76277111 | diff --git a/skyfield/tests/test_vs_novas.py b/skyfield/tests/test_vs_novas.py
index <HASH>..<HASH> 100644
--- a/skyfield/tests/test_vs_novas.py
+++ b/skyfield/tests/test_vs_novas.py
@@ -272,7 +272,7 @@ def test_equation_of_the_equinoxes_complimentary_terms(jd_float_or_vector):
def test_frame_tie():
xyz = array... | Fix a test epsilon that only breaks under tox
Why would it only break under tox? Floating-point is mysterious. | skyfielders_python-skyfield | train |
053485c396da55b6424ad82d9b6e6075d15c507e | diff --git a/app/src/main/java/com/orhanobut/waspsample/MyService.java b/app/src/main/java/com/orhanobut/waspsample/MyService.java
index <HASH>..<HASH> 100644
--- a/app/src/main/java/com/orhanobut/waspsample/MyService.java
+++ b/app/src/main/java/com/orhanobut/waspsample/MyService.java
@@ -49,7 +49,7 @@ public interfac... | RetryPolicy initialTimeout changed to timeout | orhanobut_wasp | train |
56621e55118d991e60e34fc4aff57fb7d6a36077 | diff --git a/liveandletdie/__init__.py b/liveandletdie/__init__.py
index <HASH>..<HASH> 100644
--- a/liveandletdie/__init__.py
+++ b/liveandletdie/__init__.py
@@ -259,14 +259,12 @@ class Base(object):
exitcode = self.process.wait()
raise LiveAndLetDieError(
... | Fixed a bug when app process hung when process.PIPE buffer was full. | authomatic_liveandletdie | train |
1fc89660102d9c04a00922494fcff4370432a745 | diff --git a/arquillian-portal-liferay-extension/src/main/java/org/arquillian/liferay/portal/servlet/PortalURLServlet.java b/arquillian-portal-liferay-extension/src/main/java/org/arquillian/liferay/portal/servlet/PortalURLServlet.java
index <HASH>..<HASH> 100644
--- a/arquillian-portal-liferay-extension/src/main/java/o... | [arquillian/arquillian-extension-liferay#<I>] Log Exception | arquillian_arquillian-extension-liferay | train |
aef36fa8445c524886203a4be61e16c1c5e92fe4 | diff --git a/lib/CORL/provisioner/puppetnode.rb b/lib/CORL/provisioner/puppetnode.rb
index <HASH>..<HASH> 100644
--- a/lib/CORL/provisioner/puppetnode.rb
+++ b/lib/CORL/provisioner/puppetnode.rb
@@ -103,8 +103,10 @@ class Puppetnode < Nucleon.plugin_class(:CORL, :provisioner)
unless profiles.empty?
module... | Fixing path access issue in the Puppet initialization of the puppetnode provisioner provider. | coralnexus_corl | train |
f204c9d549d97a39c6ddac49f855834b0bf541d1 | diff --git a/test/image_test.rb b/test/image_test.rb
index <HASH>..<HASH> 100755
--- a/test/image_test.rb
+++ b/test/image_test.rb
@@ -141,15 +141,6 @@ class ImageTest < Test::Unit::TestCase
assert_equal('', image["EXIF:ExifVersion"])
image.destroy!
end
-
- # The test here isn't really to check to see i... | This test is a duplicate of what's in command_builder_test
so its not needed. My fault! | minimagick_minimagick | train |
beb277fd27acdc2bbd1b2cbfd74fbd96a5e017cb | diff --git a/SurveyorCore/src/main/java/org/wwarn/surveyor/client/util/AsyncCallbackWithTimeout.java b/SurveyorCore/src/main/java/org/wwarn/surveyor/client/util/AsyncCallbackWithTimeout.java
index <HASH>..<HASH> 100644
--- a/SurveyorCore/src/main/java/org/wwarn/surveyor/client/util/AsyncCallbackWithTimeout.java
+++ b/S... | Moving to a more aggressive time out, as people don't often wait 2 minutes, usually less than <I> seconds | WorldwideAntimalarialResistanceNetwork_WWARN-Maps-Surveyor | train |
daaa03d9128f7a4b6225546b8a6160904587a0d0 | diff --git a/v2/oapi/oapi.gen.go b/v2/oapi/oapi.gen.go
index <HASH>..<HASH> 100644
--- a/v2/oapi/oapi.gen.go
+++ b/v2/oapi/oapi.gen.go
@@ -153,6 +153,15 @@ const (
EnumComponentUsageReplica EnumComponentUsage = "replica"
)
+// Defines values for EnumIntegrationTypes.
+const (
+ EnumIntegrationTypesDatasource EnumI... | v2: refresh code generated from public API spec | exoscale_egoscale | train |
862285e51dc27141132430e770e114ded52d8b65 | diff --git a/lib/wine_bouncer/oauth2.rb b/lib/wine_bouncer/oauth2.rb
index <HASH>..<HASH> 100644
--- a/lib/wine_bouncer/oauth2.rb
+++ b/lib/wine_bouncer/oauth2.rb
@@ -1,6 +1,7 @@
module WineBouncer
class OAuth2 < Grape::Middleware::Base
+ include Doorkeeper::Helpers::Controller
###
# returns the api ... | Using more native methods from doorkeeper itself | antek-drzewiecki_wine_bouncer | train |
48e713852368430ab19f5eb88c4967d3c8d9f008 | diff --git a/tests/export/hazard_test.py b/tests/export/hazard_test.py
index <HASH>..<HASH> 100644
--- a/tests/export/hazard_test.py
+++ b/tests/export/hazard_test.py
@@ -19,6 +19,9 @@ import shutil
import tempfile
import unittest
+import nrml
+
+from lxml import etree
from nose.plugins.attrib import attr
from ... | tests/export/hazard_test:
Added a test to check for the total number of GMFs in a `complete
logic tree GMF` (since the code which generates the complete lt gmf
is quite a bit more complex than it used to be. | gem_oq-engine | train |
afc298c6efbd07b3568b65c55cb9a3886a1c65f6 | diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/framework/CHANGELOG.md
+++ b/framework/CHANGELOG.md
@@ -30,6 +30,7 @@ Yii Framework 2 Change Log
- Bug #12053: `./yii migrate/create` was generating wrong code when using `bigPrimaryKey` (VojtechH, samdark)
- Bug #11907: Fi... | Fixed HttpCache was sending an empty Pragma header (#<I>) (#<I>) | yiisoft_yii2 | train |
25bb301d9c392d7c38ac8e6f5b64ed64e7b95022 | diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.... | Forgot to revert tests from that last commit | rails_rails | train |
65b456695e5c1d591fe9c1c5cee18f2bf40e9a05 | diff --git a/ifcfg/__init__.py b/ifcfg/__init__.py
index <HASH>..<HASH> 100644
--- a/ifcfg/__init__.py
+++ b/ifcfg/__init__.py
@@ -27,9 +27,9 @@ def get_parser(**kw):
The ifconfig (stdout) to pass to the parser (used for testing).
"""
- parser = kw.get('parser', None)
+ Parser = kw... | Refactor get_command and get_patterns as static class methods | ftao_python-ifcfg | train |
c18c685c05975b3266a44b2e777cb9bffdaf4a0e | diff --git a/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java b/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.... | add another place to free a buffer when done writing | OpenLiberty_open-liberty | train |
485b4d173e543aa52d93bb8df973101699d2369c | diff --git a/sdk/logical/system_view.go b/sdk/logical/system_view.go
index <HASH>..<HASH> 100644
--- a/sdk/logical/system_view.go
+++ b/sdk/logical/system_view.go
@@ -105,6 +105,10 @@ func (d StaticSystemView) Auditor() Auditor {
return noopAuditor{}
}
+func (d StaticSystemView) ForwardGenericRequest(ctx context.C... | core: add ForwardGenericRequest to StaticSystemView to satisfy ExtendedSystemView (#<I>) | hashicorp_vault | train |
f7d841413346d617ade730dbd0904c5ec5d1f6e2 | diff --git a/translator/src/main/java/com/google/devtools/j2objc/util/ClassFile.java b/translator/src/main/java/com/google/devtools/j2objc/util/ClassFile.java
index <HASH>..<HASH> 100644
--- a/translator/src/main/java/com/google/devtools/j2objc/util/ClassFile.java
+++ b/translator/src/main/java/com/google/devtools/j2ob... | Updated string builder method to lambda expression. | google_j2objc | train |
13ea4b9a389ebc2fff6595b561f6e84405e8da9e | diff --git a/netpyne/sim/save.py b/netpyne/sim/save.py
index <HASH>..<HASH> 100644
--- a/netpyne/sim/save.py
+++ b/netpyne/sim/save.py
@@ -302,20 +302,18 @@ def compactConnFormat():
#------------------------------------------------------------------------------
# Gathers data in master and saves it mid run
#--------... | updated intervalSave to work with improved runSimWithIntervalFunc | Neurosim-lab_netpyne | train |
1a9f26593cfc2baf6bc6530e10c1c975adb89eea | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,4 +43,9 @@ setup(
"sphinx-autodoc-typehints",
],
},
+ entry_points={
+ 'console_scripts': [
+ 'delphi = delphi.cli:main',
+ ],
+ },
) | Add entry point for delphi.cli:main
This tells python to install a script called ``delphi`` that can be run from the command line, and will enter through the main function defined in cli.py | ml4ai_delphi | train |
f4863f0ef4ef185ff57fff710f1d08dd9f5e6634 | diff --git a/lib/FileSystemInfo.js b/lib/FileSystemInfo.js
index <HASH>..<HASH> 100644
--- a/lib/FileSystemInfo.js
+++ b/lib/FileSystemInfo.js
@@ -16,10 +16,12 @@ const { join, dirname, relative } = require("./util/fs");
/** @typedef {import("./util/fs").InputFileSystem} InputFileSystem */
const resolveContext = cr... | improve build dependencies resolving for dependencies with exports field | webpack_webpack | train |
4a59586c96345e2490602aa3202046b41318fb8d | diff --git a/lib/onelogin/ruby-saml/idp_metadata_parser.rb b/lib/onelogin/ruby-saml/idp_metadata_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/onelogin/ruby-saml/idp_metadata_parser.rb
+++ b/lib/onelogin/ruby-saml/idp_metadata_parser.rb
@@ -16,6 +16,11 @@ module OneLogin
attr_reader :document
+ def pa... | download and parse remote idp server metadata | onelogin_ruby-saml | train |
f536c0d635ed0799c9c96288353cc05898c634f6 | diff --git a/src/Medoo.php b/src/Medoo.php
index <HASH>..<HASH> 100644
--- a/src/Medoo.php
+++ b/src/Medoo.php
@@ -174,6 +174,11 @@ class Medoo
{
$attr[ 'appname' ] = $options[ 'appname' ];
}
+
+ if (isset($options[ 'charset' ]))
+ {
+ $attr[ 'charset' ] = $options[ 'charset' ];
+ ... | [feature] Add more connection option support for MSSQL | catfan_Medoo | train |
0fb797240e73dcb506fdf6ad34e275039bc91039 | diff --git a/lib/cursor.js b/lib/cursor.js
index <HASH>..<HASH> 100644
--- a/lib/cursor.js
+++ b/lib/cursor.js
@@ -50,8 +50,8 @@ Cursor.prototype.sort = function(sortQuery) {
/**
* Add the use of a projection
- * @param {Object} projection - MongoDB-style projection. {} means take all fields. Then it's {key1:1, ke... | Real test for empty projection and take-type projections | louischatriot_nedb | train |
5014e22a4f9701c216c3403a0a63ab9e6124cb6b | diff --git a/lib/assets/Asset.js b/lib/assets/Asset.js
index <HASH>..<HASH> 100644
--- a/lib/assets/Asset.js
+++ b/lib/assets/Asset.js
@@ -71,6 +71,10 @@ function Asset(config) {
this._parseTree = config.parseTree;
config.parseTree = undefined;
}
+ if (config.sourceMap) {
+ this._source... | Asset constructor: Bypass the sourceMap setter when receiving config.sourceMap. | assetgraph_assetgraph | train |
8732a1ea3d118a9008081950af4418aaacb9133a | diff --git a/aiobotocore/paginate.py b/aiobotocore/paginate.py
index <HASH>..<HASH> 100644
--- a/aiobotocore/paginate.py
+++ b/aiobotocore/paginate.py
@@ -59,12 +59,14 @@ class AioPageIterator(PageIterator):
self._starting_truncation = 0
self._inject_starting_params(self._current_kwargs)
- @async... | add async for support to pagination | aio-libs_aiobotocore | train |
06aa1724e7151a644322a8e065347f4cb2246b75 | diff --git a/logs.go b/logs.go
index <HASH>..<HASH> 100644
--- a/logs.go
+++ b/logs.go
@@ -12,5 +12,9 @@ var cmdLogs = &Command{
}
func runLogs(cmd *Command, args []string) {
+ if len(args) != 1 {
+ panic("You must supply a job id")
+ }
+
must(Get(os.Stdout, "/apps/"+mustApp()+"/jobs/"+args[0]+"/logs"))
} | cli: More descriptive error when job id is left blank on logs command. | flynn_flynn | train |
74c4f9813c9bea74ca6b3a147298904e5e52e716 | diff --git a/xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/AbstractJob.java b/xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/AbstractJob.java
index <HASH>..<HASH> 100644
--- a/xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/AbstractJob.java
+++ b/xwiki-commons-core/... | Add some more log to begin and close job log | xwiki_xwiki-commons | train |
e9fad599f8925e24f08e98eff7f4013009e78932 | diff --git a/src/core/Singleton.php b/src/core/Singleton.php
index <HASH>..<HASH> 100644
--- a/src/core/Singleton.php
+++ b/src/core/Singleton.php
@@ -3,6 +3,8 @@ namespace rosasurfer\core;
use rosasurfer\exception\InvalidArgumentException;
use rosasurfer\exception\RuntimeException;
+use function rosasurfer\is_clas... | check class for existence and produce more meaningful error message | rosasurfer_ministruts | train |
653a9f35abe61e4e127d738821a157348969fd5a | diff --git a/safe_qgis/test_dock.py b/safe_qgis/test_dock.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/test_dock.py
+++ b/safe_qgis/test_dock.py
@@ -496,12 +496,13 @@ class DockTest(unittest.TestCase):
myRunButton = DOCK.pbnRunStop
myFileList = ['kabupaten_jakarta_singlepart_0_good_attr.shp',
... | adding aggregation attributr None in keyword file test | inasafe_inasafe | train |
2db1fc1a6a4c087b1aaabeb407d02ee30e62bf77 | diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/task/TaskQuery.java b/modules/activiti-engine/src/main/java/org/activiti/engine/task/TaskQuery.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/main/java/org/activiti/engine/task/TaskQuery.java
+++ b/modules/activiti-engine/src/mai... | Document for method taskCandidateOrAssigned in TaskQuery | Activiti_Activiti | train |
6a6ce0eef6d2020bbe078b07941f46c076aeb3d8 | diff --git a/submit/views.py b/submit/views.py
index <HASH>..<HASH> 100644
--- a/submit/views.py
+++ b/submit/views.py
@@ -93,15 +93,17 @@ def details(request, subm_id):
@login_required
def new(request, ass_id):
ass = get_object_or_404(Assignment, pk=ass_id)
+
+ # Check whether submissions are allowed.
+ i... | Display "new submission" page only if submission is possible | troeger_opensubmit | train |
f86486a4d86382a8677a35128f39a97507454ad5 | diff --git a/aws_google_auth/configuration.py b/aws_google_auth/configuration.py
index <HASH>..<HASH> 100644
--- a/aws_google_auth/configuration.py
+++ b/aws_google_auth/configuration.py
@@ -2,7 +2,10 @@
import os
import botocore.session
-import configparser
+try:
+ from backports import configparser
+except Imp... | Be explicit about which configparser (Issue #<I>) | cevoaustralia_aws-google-auth | train |
3849e8439679d2ba086f061ba0c1c6a873848de4 | diff --git a/modules/orionode/lib/cf/apps.js b/modules/orionode/lib/cf/apps.js
index <HASH>..<HASH> 100644
--- a/modules/orionode/lib/cf/apps.js
+++ b/modules/orionode/lib/cf/apps.js
@@ -533,7 +533,7 @@ function updateApp(req, appTarget){
}
function getStackGuidByName(userId, stackname ,appTarget){
logger.debug("Ge... | Bug <I> - Exception trying to deploy app | eclipse_orion.client | train |
28379077e9a631419d778894c388b4b5222300c2 | diff --git a/tests/test_winazurearm.py b/tests/test_winazurearm.py
index <HASH>..<HASH> 100644
--- a/tests/test_winazurearm.py
+++ b/tests/test_winazurearm.py
@@ -280,7 +280,8 @@ class WinAzureARMTestCase(TestCase):
self.assertEqual(1, client.resource.resource_groups.delete.call_count)
self.assertIs(T... | Do not delete resource groups with just a network because azure-arm-deploy-bundle-lxd is getting clobbered. | juju_juju | train |
4472646082be0c29af72a017614dbb4231a2d6b7 | diff --git a/biodata-models/src/main/java/org/opencb/biodata/models/variant/ga4gh/GAVariantFactory.java b/biodata-models/src/main/java/org/opencb/biodata/models/variant/ga4gh/GAVariantFactory.java
index <HASH>..<HASH> 100644
--- a/biodata-models/src/main/java/org/opencb/biodata/models/variant/ga4gh/GAVariantFactory.jav... | Fixes some exceptions for null pointer access and list to array conversions | opencb_biodata | train |
7ba20b905912af7adc4d6a93c11920d2f9098e27 | diff --git a/src/js/Buttons/FloatingButton.js b/src/js/Buttons/FloatingButton.js
index <HASH>..<HASH> 100644
--- a/src/js/Buttons/FloatingButton.js
+++ b/src/js/Buttons/FloatingButton.js
@@ -2,7 +2,6 @@ import React, { Component, PropTypes } from 'react';
import PureRenderMixin from 'react-addons-pure-render-mixin';
... | Removed isPropEnabled and mergeClassNames from floating/icon buttons | mlaursen_react-md | train |
167b8113867a8f2a5ee7515127a43c4acd7b829d | diff --git a/src/main/java/org/la4j/factory/CRSFactory.java b/src/main/java/org/la4j/factory/CRSFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/la4j/factory/CRSFactory.java
+++ b/src/main/java/org/la4j/factory/CRSFactory.java
@@ -23,7 +23,6 @@ package org.la4j.factory;
import java.util.ArrayList;
i... | Update CRSFactory.java
Imports optimized. | vkostyukov_la4j | train |
7d86fe2e280974312e8106f6e67cf063284194de | diff --git a/lib/xmlhttprequest.js b/lib/xmlhttprequest.js
index <HASH>..<HASH> 100644
--- a/lib/xmlhttprequest.js
+++ b/lib/xmlhttprequest.js
@@ -37,11 +37,68 @@
XMLHttpRequestEventTarget.call(this);
options = options || {};
this._flag.anonymous = !!options.anon;
- Object.defineProperty(this, 'upload... | Define private _properties as an instance variable.
When _properties are defined only in XMLHttpRequest.prototype, bad
things happen when one uses several instances of XMLHttpRequest in
parallel. (For example this._properties.responseBuffer points to the
same buffer in all instances.) | ykzts_node-xmlhttprequest | train |
ded6b3f0814be79816a6d3a85dc3057680b25bb3 | diff --git a/phe/tests/cli_test.py b/phe/tests/cli_test.py
index <HASH>..<HASH> 100644
--- a/phe/tests/cli_test.py
+++ b/phe/tests/cli_test.py
@@ -106,7 +106,6 @@ class TestConsoleEncryption(TestCase):
def test_encrypt_float(self):
numbers = [0.0, 1.1, -0.0001, 100000.01, '1e-20', '-10550e20']
-
... | #6 Add decryption tests | n1analytics_python-paillier | train |
613ee9926af16439e817534ef855421335abae76 | diff --git a/xchange-core/src/main/java/org/knowm/xchange/currency/Currency.java b/xchange-core/src/main/java/org/knowm/xchange/currency/Currency.java
index <HASH>..<HASH> 100644
--- a/xchange-core/src/main/java/org/knowm/xchange/currency/Currency.java
+++ b/xchange-core/src/main/java/org/knowm/xchange/currency/Currenc... | [Core] Added 3 currencies for Binance | knowm_XChange | train |
0ad3cd6d31fa9c1d500f91e3fc108095ef2776c5 | diff --git a/go/vt/vtadmin/rbac/rbac.go b/go/vt/vtadmin/rbac/rbac.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtadmin/rbac/rbac.go
+++ b/go/vt/vtadmin/rbac/rbac.go
@@ -75,17 +75,24 @@ type Resource string
const (
ClusterResource Resource = "Cluster"
+ /* generic topo resources */
+
KeyspaceResource Resource = "Ke... | Add new resource for ShardReplicationPosition
Also adjust structure and annotate the resource sections a bit | vitessio_vitess | train |
b3a4b48b9509d6bf32b974161c635301462f250c | diff --git a/src/main/java/com/marklogic/client/impl/GraphManagerImpl.java b/src/main/java/com/marklogic/client/impl/GraphManagerImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/marklogic/client/impl/GraphManagerImpl.java
+++ b/src/main/java/com/marklogic/client/impl/GraphManagerImpl.java
@@ -15,6 +15,7 @@... | (small fix that was breaking compile) round 2 of minimal implementation API stubs | marklogic_java-client-api | train |
2e56fb6087fcd106b7f5ddb2052748fbfcfa49cd | diff --git a/tomodachi/protocol/protobuf_base.py b/tomodachi/protocol/protobuf_base.py
index <HASH>..<HASH> 100644
--- a/tomodachi/protocol/protobuf_base.py
+++ b/tomodachi/protocol/protobuf_base.py
@@ -29,8 +29,8 @@ class ProtobufBase(object):
message.metadata.timestamp = time.time()
message.metadata... | changed encoding to ascii for the base<I> message | kalaspuff_tomodachi | train |
f2e7fd02b1197bac931804b54853fe326c9cd0d1 | diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100755
--- a/autopep8.py
+++ b/autopep8.py
@@ -1684,7 +1684,8 @@ def format_block_comments(source):
# Optimization.
return source
- string_line_numbers = multiline_string_lines(source)
+ string_line_numbers = multiline_string_lines(so... | Do not format comments in docstrings | hhatto_autopep8 | train |
9a24b61d8132d5e5a0816d1080b1f291007e1aee | diff --git a/lib/mpd_protocol.js b/lib/mpd_protocol.js
index <HASH>..<HASH> 100644
--- a/lib/mpd_protocol.js
+++ b/lib/mpd_protocol.js
@@ -1320,7 +1320,7 @@ function writePlaylistInfo(self, start, end) {
}
function forEachMatchingTrack(self, filters, caseSensitive, fn) {
- // TODO: support 'any' and 'in' as tag ty... | MPD: Support "any" as a search type in find and search.
Currently I am just searching all the defined tag types. I am not sure if
there should be a specific order they are searched in or whether we should
just be searching string ones.
Now coerces the tag value to a string. | andrewrk_groovebasin | train |
36216cc9f2c5f9a71e361501c4d32b2c7f078c14 | diff --git a/bigtable-client-core-parent/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/AbstractBigtableTable.java b/bigtable-client-core-parent/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/AbstractBigtableTable.java
index <HASH>..<HASH> 100644
--- a/bigtable-client-core-parent/bigtable-hb... | rename variables (#<I>) | googleapis_cloud-bigtable-client | train |
343e7a10bd695374af04f05db14c905b252bb56f | diff --git a/core/src/test/java/com/google/common/truth/DoubleSubjectTest.java b/core/src/test/java/com/google/common/truth/DoubleSubjectTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/google/common/truth/DoubleSubjectTest.java
+++ b/core/src/test/java/com/google/common/truth/DoubleSubjectTest.java
@... | Split tests of isNotNaN() failures into their own methods.
This will let me start using expectFailure.whenTesting() with them (since that method is possible to use only once per test method).
RELNOTES=n/a
-------------
Created by MOE: <URL> | google_truth | train |
b1e1a62dd59efc19f727649b6ff28d571fa28646 | diff --git a/Installation/AdditionalInstaller.php b/Installation/AdditionalInstaller.php
index <HASH>..<HASH> 100644
--- a/Installation/AdditionalInstaller.php
+++ b/Installation/AdditionalInstaller.php
@@ -17,7 +17,6 @@ use Icap\LessonBundle\Installation\Updater\Updater13;
class AdditionalInstaller extends BaseInst... | [LessonBundle] Remove unused method | claroline_Distribution | train |
858d8b5658676fd227c2610a3726cad7bcdd49d9 | diff --git a/helios-services/src/main/java/com/spotify/helios/master/MasterService.java b/helios-services/src/main/java/com/spotify/helios/master/MasterService.java
index <HASH>..<HASH> 100644
--- a/helios-services/src/main/java/com/spotify/helios/master/MasterService.java
+++ b/helios-services/src/main/java/com/spotif... | master: add MemoryUsageMetricSet and GarbageCollectorMetricSet
It would be nice to keep these stats and have them emitted via the
metrics reporter. This will help for tracking heap size (of different
generations), time spent in GC, etc etc. | spotify_helios | train |
3aba8e20a21f23bcba55dd52ac61d27f12e4b003 | diff --git a/src/CsvMigration.php b/src/CsvMigration.php
index <HASH>..<HASH> 100644
--- a/src/CsvMigration.php
+++ b/src/CsvMigration.php
@@ -91,9 +91,9 @@ class CsvMigration extends AbstractMigration
$tableFields = $this->_getTableFields();
if (empty($tableFields)) {
- $this->_createFro... | Fixed CSV Migrations
* Updated the call to `fieldToDb()` method from CsvMigration.
* Updated `fieldToDb()` method in FieldHandlerFactory to use name
from CsvField data, if not provided as parameter.
* Minor documentation updates | QoboLtd_cakephp-csv-migrations | train |
1b3cdd2c980c9a0cc591f8c32a7844c16dfd0fd3 | diff --git a/few/few.py b/few/few.py
index <HASH>..<HASH> 100644
--- a/few/few.py
+++ b/few/few.py
@@ -60,7 +60,8 @@ class FEW(SurvivalMixin, VariationMixin, EvaluationMixin, PopMixin,
random_state=None, verbosity=0,
scoring_function=None, disable_update_check=False,
... | sets weight_parents default to True | lacava_few | train |
5e5f405faea4b2d1baa40238a1af977532225b7c | diff --git a/salt/modules/virt.py b/salt/modules/virt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virt.py
+++ b/salt/modules/virt.py
@@ -2717,6 +2717,56 @@ def network_info(name, **kwargs):
return result
+def network_start(name, **kwargs):
+ '''
+ Start a defined virtual network.
+
+ :param name... | Add functions to start/stop virtual networks
From this commit on, users can start and stop their virtual networks
using virt.network_start and virt.network_stop functions. | saltstack_salt | train |
1656a6f564b5fc4da8b8c90f4686930d2ecfe9c0 | diff --git a/spyderplugins/widgets/condapackagesgui.py b/spyderplugins/widgets/condapackagesgui.py
index <HASH>..<HASH> 100644
--- a/spyderplugins/widgets/condapackagesgui.py
+++ b/spyderplugins/widgets/condapackagesgui.py
@@ -4,7 +4,7 @@
# Licensed under the terms of the MIT License
# (see spyderlib/__init__.py for ... | updated envirionments menu look | spyder-ide_spyder | train |
5af2089b4249c7992be7ca92612febbb000d4344 | diff --git a/qa_tests/classical_psha_unittest.py b/qa_tests/classical_psha_unittest.py
index <HASH>..<HASH> 100644
--- a/qa_tests/classical_psha_unittest.py
+++ b/qa_tests/classical_psha_unittest.py
@@ -73,7 +73,7 @@ class ClassicalPSHACalculatorAssuranceTestCase(
@attr("qa")
def test_peer_test_set_1_case_2... | renamed a utility function | gem_oq-engine | train |
b6e747a7d224a10e6730cc023e9b5219cd85cc27 | diff --git a/test/tests.js b/test/tests.js
index <HASH>..<HASH> 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -503,6 +503,10 @@ describe("compiler", function () {
node.expression.callee.property.name, propertyName);
}
+ if (ast.type === "File") {
+ ast = ast.program;
+ }
+
assert.str... | Tolerate root AST nodes with type "File" in tests. | benjamn_reify | train |
c79a5d18d2d4ae31d24eeb7673f47bd85796408b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,10 @@ projects managed with cirrus.
"""
import setuptools
-import ConfigParser
+try:
+ import ConfigParser
+except ImportError:
+ import configparser as ConfigParser
def get_default(parser, section, opti... | python3 support in setup.py | evansde77_dockerstache | train |
56852f8bd541bb84412e50cf451e0bfc881d7e82 | diff --git a/src/test/org/openscience/cdk/io/MDLWriterTest.java b/src/test/org/openscience/cdk/io/MDLWriterTest.java
index <HASH>..<HASH> 100644
--- a/src/test/org/openscience/cdk/io/MDLWriterTest.java
+++ b/src/test/org/openscience/cdk/io/MDLWriterTest.java
@@ -26,6 +26,9 @@ package org.openscience.cdk.io;
import j... | Added unit test to verify that if 2D and 3D coordinates are available, the 3D coordinates are outputted.
* formalizing the current writer implementation | cdk_cdk | train |
44a999e098b812a4157db8129a926ab246a1f049 | diff --git a/go/vt/tabletserver/proto/sqlquery.go b/go/vt/tabletserver/proto/sqlquery.go
index <HASH>..<HASH> 100644
--- a/go/vt/tabletserver/proto/sqlquery.go
+++ b/go/vt/tabletserver/proto/sqlquery.go
@@ -18,7 +18,7 @@ type SqlQuery interface {
// FIXME(sugu) Note the client will support both returning an
// int6... | return transaction id in a struct for rpc calls | vitessio_vitess | train |
1c9742d228af62b951b4c9d8727019189e2194d3 | diff --git a/pkg/suse/salt.spec b/pkg/suse/salt.spec
index <HASH>..<HASH> 100644
--- a/pkg/suse/salt.spec
+++ b/pkg/suse/salt.spec
@@ -250,13 +250,13 @@ install -Dpm 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2
%{_mandir}/man1/salt-run.1.*
%{_sbindir}/rcsalt-master
%config(noreplace) %{_syscon... | updated suse spec file
Fixed non-executable-scripts warning from python checks | saltstack_salt | train |
c0a490ea3c2b38f4f69442cdfa36f393e3d0c38c | diff --git a/classes/fields/pick.php b/classes/fields/pick.php
index <HASH>..<HASH> 100644
--- a/classes/fields/pick.php
+++ b/classes/fields/pick.php
@@ -297,8 +297,11 @@ class PodsField_Pick extends PodsField {
$data[ $custom_value ] = $custom_label;
}
}
- ... | Fix array_merge issue with numeric ids in custom value filter | pods-framework_pods | train |
a34763248c6cff58944cd1d73b7c487fda1b80ea | diff --git a/src/scene.js b/src/scene.js
index <HASH>..<HASH> 100755
--- a/src/scene.js
+++ b/src/scene.js
@@ -78,7 +78,7 @@ export default class Scene {
this.last_selection_render = -1; // frame counter for last selection render pass
this.media_capture = new MediaCapture();
this.selection... | allow introspection to be passed as scene option | tangrams_tangram | train |
7a45cca5aec62a7f1816e38c36b8835b716ae729 | diff --git a/examples/user_guide/Geometries.ipynb b/examples/user_guide/Geometries.ipynb
index <HASH>..<HASH> 100644
--- a/examples/user_guide/Geometries.ipynb
+++ b/examples/user_guide/Geometries.ipynb
@@ -14,7 +14,7 @@
"import cartopy.feature as cf\n",
"from cartopy import crs as ccrs\n",
"\n",
- "h... | Minor fixes before <I> release (#<I>) | pyviz_geoviews | train |
1b6ed2b65d5f6df6f817f8ad8219dee852eb92f6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,6 @@
'use strict';
-var spawn = require('child_process').spawn;
+var child_process = require('child_process');
var path = require('path');
var say = exports;
var childD;
@@ -69,7 +69,7 @@ say.speak = function(tex... | Switch Stop to use SigTerm and Kill Process Properly On Windows
Issue #<I>
**Bug**
I was seeing `stop` now working when the library was used inside of an electron app.
**Fix**
For osx, use SIGTERM to kill instead of SIGINT.
Also adds windows logic to kill the child process properly | Marak_say.js | train |
6510975059b211284ca022e36c1c163c1890226b | diff --git a/src/VirtualFileSystem/Wrapper.php b/src/VirtualFileSystem/Wrapper.php
index <HASH>..<HASH> 100644
--- a/src/VirtualFileSystem/Wrapper.php
+++ b/src/VirtualFileSystem/Wrapper.php
@@ -277,7 +277,8 @@ class Wrapper
'gid' => $file->group(),
'atime' => $file->atime(),
... | Fixed broken filesize
Noticed that the filesize was incorrect for files. | michael-donat_php-vfs | train |
61bfbe9050d024ab196dc6c7ef084a6c4ecf7e4d | diff --git a/api.php b/api.php
index <HASH>..<HASH> 100644
--- a/api.php
+++ b/api.php
@@ -186,7 +186,7 @@ class Boots_Form
private function generate_html($Args)
{
- return $Args;
+ return $Args['html'];
}
private function generate_textbox($Args, $flavour = 'text') | Require html as an arg so that x arg can be provided for grid | wpboots_form | train |
a7e11f3839537cfee4d80c1e6de5a621b7faa143 | diff --git a/lib/steam/browser/html_unit/actions.rb b/lib/steam/browser/html_unit/actions.rb
index <HASH>..<HASH> 100644
--- a/lib/steam/browser/html_unit/actions.rb
+++ b/lib/steam/browser/html_unit/actions.rb
@@ -63,7 +63,10 @@ module Steam
end
def submit_form(element, options = {})
- ... | htmlforms can't be submitted any more in htmlunit <I>. this method was removed because it was considered private api. | svenfuchs_steam | train |
80a9b738d0536a452f8f16cd5462a932b9f8cd3b | diff --git a/lib/standup/settings.rb b/lib/standup/settings.rb
index <HASH>..<HASH> 100755
--- a/lib/standup/settings.rb
+++ b/lib/standup/settings.rb
@@ -1,11 +1,13 @@
if File.exists?('config/standup.yml')
- class Standup::Settings < Settingslogic
- source 'config/standup.yml'
- load!
-
- aws['account_id'].... | Fix for #<I> "standup <I> crashes on startup" | cloudcastle_standup | train |
3a258c6dd4f266704895c4e1c4013a26e11c3d24 | diff --git a/js/deribit.js b/js/deribit.js
index <HASH>..<HASH> 100644
--- a/js/deribit.js
+++ b/js/deribit.js
@@ -196,6 +196,7 @@ module.exports = class deribit extends Exchange {
'get_order_history_by_instrument',
'get_order_margin_by_ids',
'g... | deribit get_stop_order_history restored for backward-compatibility | ccxt_ccxt | train |
0b17242997e87dc4aa4db8bdfeb194b712140e66 | diff --git a/aws-sdk-core/lib/aws-sdk-core/signers/v4.rb b/aws-sdk-core/lib/aws-sdk-core/signers/v4.rb
index <HASH>..<HASH> 100644
--- a/aws-sdk-core/lib/aws-sdk-core/signers/v4.rb
+++ b/aws-sdk-core/lib/aws-sdk-core/signers/v4.rb
@@ -123,7 +123,7 @@ module Aws
[
request.http_method,
path... | Resolved an issue with sigv4 signatures.
The normalized query params were being sorted by "name=value".
This caused an issue when two params were named as such:
"q=value"
"q.options=value"
The sort cause q.options to be first, when it should have been
q, because of the precedence of =. This fix ensures they ... | aws_aws-sdk-ruby | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.