hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
3f96ce04cb41a251f6ad789db4ecee9cfb3c06ed | diff --git a/api-get-object.go b/api-get-object.go
index <HASH>..<HASH> 100644
--- a/api-get-object.go
+++ b/api-get-object.go
@@ -59,6 +59,9 @@ func (c Client) GetObject(bucketName, objectName string) (*Object, error) {
select {
// When the done channel is closed exit our routine.
case <-doneCh:
+ // Cl... | Closing the http response.Body (ReadCloser) after close on done channel (#<I>) | minio_minio-go | train |
ae5c26021266f1e7531a52661cab3829e87a531b | diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -443,7 +443,7 @@ class TestHighlevel(unittest.TestCase):
elements_in_cache = l2.size()//element_size
kernel_height = 3
matrix_width = elements_in_cache // kernel_height // 2 # TO... | fixed (hopefully) unit tests | RRZE-HPC_pycachesim | train |
585d6684b6996f522d561e021eb73c1489558fea | diff --git a/src/WindowsAzure/Resources.php b/src/WindowsAzure/Resources.php
index <HASH>..<HASH> 100644
--- a/src/WindowsAzure/Resources.php
+++ b/src/WindowsAzure/Resources.php
@@ -76,6 +76,7 @@ class Resources
// Misc
const EMPTY_STRING = '';
+ const SEPARATOR = ',';
const AZUR... | Fix #<I> (adding ability to authenticate multiple query variables. | Azure_azure-sdk-for-php | train |
4de88e87bb3ac449c5e41db786e398a623983bcc | diff --git a/pkg/s3select/internal/parquet-go/reader_test.go b/pkg/s3select/internal/parquet-go/reader_test.go
index <HASH>..<HASH> 100644
--- a/pkg/s3select/internal/parquet-go/reader_test.go
+++ b/pkg/s3select/internal/parquet-go/reader_test.go
@@ -39,7 +39,7 @@ func getReader(name string, offset int64, length int64)... | os.SEEK_SET is deprecated,use io.SeekStart. (#<I>) | minio_minio | train |
a2e194b726a40310667022403bd5e26e4e568c35 | diff --git a/aws/data_source_aws_instances.go b/aws/data_source_aws_instances.go
index <HASH>..<HASH> 100644
--- a/aws/data_source_aws_instances.go
+++ b/aws/data_source_aws_instances.go
@@ -8,6 +8,7 @@ import (
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/hashicorp/terraform/helper/resource"
"github.com/h... | Added argument for defining instance state names + added test case | terraform-providers_terraform-provider-aws | train |
f5b8a577f7e44821c37d314fc2c46c536539784c | diff --git a/src/Config/Config.php b/src/Config/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config/Config.php
+++ b/src/Config/Config.php
@@ -115,7 +115,7 @@ class Config
public static function loadWmicBlocking($command = null)
{
$contents = shell_exec($command === null ? 'wmic NICCONFIG get "DN... | Support parsing multiple DNS entries for same interface from WMIC | reactphp_dns | train |
40ebc6b16db42e2f7ab486037eb3f7525d6d91ee | diff --git a/goagen/gen_swagger/swagger.go b/goagen/gen_swagger/swagger.go
index <HASH>..<HASH> 100644
--- a/goagen/gen_swagger/swagger.go
+++ b/goagen/gen_swagger/swagger.go
@@ -495,13 +495,7 @@ func responseFromDefinition(s *Swagger, api *design.APIDefinition, r *design.Res
response *Response
err error
)... | Do not use definitions for responses.
The complexity in computing whether that's possible
offsets the (small) benefits. | goadesign_goa | train |
7279e97e5a200a0785fd320ec5ff55697b39ed48 | diff --git a/spring-boot/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.java b/spring-boot/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.java
index <HASH>..<HASH> 100644
--- a/spring-boot/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.... | Add @IntegrationTest properties to Environment after system props
Fixes gh-<I> | spring-projects_spring-boot | train |
cd13a1685c383ccc78738c8a70ebf4344a1d15e2 | diff --git a/spring-boot-samples/spring-boot-sample-hateoas/src/main/java/sample/hateoas/web/CustomerController.java b/spring-boot-samples/spring-boot-sample-hateoas/src/main/java/sample/hateoas/web/CustomerController.java
index <HASH>..<HASH> 100644
--- a/spring-boot-samples/spring-boot-sample-hateoas/src/main/java/sa... | Align HATEAOS sample with latest breaking API changes
See gh-<I> | spring-projects_spring-boot | train |
ee0c46161f2148bc616ce70ff75f430c9523c2ef | diff --git a/lib/nominet-epp/operations/create.rb b/lib/nominet-epp/operations/create.rb
index <HASH>..<HASH> 100644
--- a/lib/nominet-epp/operations/create.rb
+++ b/lib/nominet-epp/operations/create.rb
@@ -41,7 +41,13 @@ module NominetEPP
domain('create') do |node, ns|
node << XML::Node.new('na... | [BugFix]: Create operation with :period flag would send invalid <domain:period> content which would result in a 'Command syntax error' response | m247_nominet-epp | train |
72ed0212b7fc99ea369b7f7e39ac5a2979545e45 | diff --git a/Form/Factory/Security/GenericLoginFormFactory.php b/Form/Factory/Security/GenericLoginFormFactory.php
index <HASH>..<HASH> 100644
--- a/Form/Factory/Security/GenericLoginFormFactory.php
+++ b/Form/Factory/Security/GenericLoginFormFactory.php
@@ -61,10 +61,10 @@ class GenericLoginFormFactory implements Logi... | Allow to customize form type class in login form factory. | DarvinStudio_DarvinUserBundle | train |
de3d59a92d4616dc9aa53b1e772baace67f795e9 | diff --git a/utils.go b/utils.go
index <HASH>..<HASH> 100644
--- a/utils.go
+++ b/utils.go
@@ -198,7 +198,7 @@ func getRootlessDirInfo(rootlessUID int) (string, string, error) {
}
// getRootlessStorageOpts returns the storage opts for containers running as non root
-func getRootlessStorageOpts(rootlessUID int) (Sto... | For podman <I> we need to use use ignore_chown_errors field if set
It is too risky to add all system options.
This is supposed to work for HPC customers, so we can just
grab this setting if set in system wide settings. | containers_storage | train |
30ab60aa67fe91124c51a3d1507ed96aaacca0c6 | diff --git a/src/test/java/com/spotify/docker/client/DockerClientTest.java b/src/test/java/com/spotify/docker/client/DockerClientTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/spotify/docker/client/DockerClientTest.java
+++ b/src/test/java/com/spotify/docker/client/DockerClientTest.java
@@ -74,6 +74,7 @@... | Improved DockerClientTest.testBuildName()
Now that inspectImage is working (see #<I>), the test for build name
now verifies the image ID in addition to the image name. | spotify_docker-client | train |
2fb1a6e0719e2c8f375379682b2510a0ab85f14c | diff --git a/lib/omnibus/git_cache.rb b/lib/omnibus/git_cache.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/git_cache.rb
+++ b/lib/omnibus/git_cache.rb
@@ -196,11 +196,14 @@ refs}.freeze
# @return [Mixlib::Shellout] the underlying command object.
#
def git_cmd(command)
- shellout!("git -c core.au... | git_cache: join git command lines to avoid mangle
obvious fix? | chef_omnibus | train |
3461f5006080792b085167038fd6adcaab9cbf6f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -15,6 +15,8 @@ shim.__defineGetter__(
, function () { return Object.keys(registeredShims); }
);
+shim.registeredShim = function (alias) { return registeredShims[alias]; };
+
// bad, bad, bad, but results in so much nice... | adding function to get content of specific shim | thlorenz_browserify-shim | train |
1c4b67ae8a0a62294a3e5f670ca6a99db76407d0 | diff --git a/auto_ml/predictor.py b/auto_ml/predictor.py
index <HASH>..<HASH> 100644
--- a/auto_ml/predictor.py
+++ b/auto_ml/predictor.py
@@ -24,7 +24,7 @@ class Predictor(object):
self.output_column = output_column
- def _construct_pipeline(self, user_input_func=None, ml_for_analytics=False, model_nam... | passes through most of the information needed for feature selection | ClimbsRocks_auto_ml | train |
a4eed42cf23c265ae6d55b6dff462135de6b240c | diff --git a/dashbuilder-backend/dashbuilder-services/src/main/java/org/dashbuilder/dataset/backend/exception/ExceptionManager.java b/dashbuilder-backend/dashbuilder-services/src/main/java/org/dashbuilder/dataset/backend/exception/ExceptionManager.java
index <HASH>..<HASH> 100644
--- a/dashbuilder-backend/dashbuilder-s... | Log any backend error caught by the ExceptionManager | dashbuilder_dashbuilder | train |
b6e470b8eb4a3fbaa5a820bb3872ad2938011020 | diff --git a/src/notebook/epics/github-publish.js b/src/notebook/epics/github-publish.js
index <HASH>..<HASH> 100644
--- a/src/notebook/epics/github-publish.js
+++ b/src/notebook/epics/github-publish.js
@@ -100,6 +100,11 @@ export function publishNotebookObservable(github, notebook, filepath,
message: `Authe... | refactor(publish): Initial work | nteract_nteract | train |
8e60cf40874c54a6bd2e77d5f71fa0e5504bfc07 | diff --git a/test/fakedata_generation.py b/test/fakedata_generation.py
index <HASH>..<HASH> 100644
--- a/test/fakedata_generation.py
+++ b/test/fakedata_generation.py
@@ -241,3 +241,20 @@ def cityscapes_root():
'{city}_000000_000000_leftImg8bit.png'.format(city=city)))
... | Test for SVHN (#<I>)
* cast images to PIL at instantiation instead of runtime
* add test for svhn
* added tests for remaining SVHN splits
* flake8
* rolled back changes to datasets | pytorch_vision | train |
51b0287cda97423936a7b750f5df6a8c5aaa86a0 | diff --git a/src/console.js b/src/console.js
index <HASH>..<HASH> 100644
--- a/src/console.js
+++ b/src/console.js
@@ -1,5 +1,9 @@
// TODO: Support more of the Console API.
+const huey = require('huey')
+
+const {stdout} = process
+
// Equals true if the console is mocked.
let mocking = false
@@ -49,7 +53,19 @@ ... | fix: use JSON.stringify in console mock
This also writes to `process.stdout` instead of using the `console` API. And 'warn:' and 'error:' are prepended to logs using those methods. | aleclarson_testpass | train |
4c781c56d74929d391d00164aefc096ea989ac9e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -9,7 +9,9 @@ var serialNumber = function (cb, cmdPrefix) {
require('fs').readFile(__dirname + '/cache', function (fsErr, data) {
if (data) {data = data.toString().trim();}
if (fsErr || !data || data.length < 2) {
- ... | Add support for reading instance-id from Amazon EC2 instances | es128_serial-number | train |
a900fc0e202759d0e92e38469f9bf71ab45e2a07 | diff --git a/lib/colorful.js b/lib/colorful.js
index <HASH>..<HASH> 100644
--- a/lib/colorful.js
+++ b/lib/colorful.js
@@ -3,13 +3,13 @@
const chalk = require('chalk');
exports.colorize = (text) => {
- return text.replace(/<([a-z0-9-_\.]+)>/gi, (match) => {
+ return text.replace(/<([a-z0-9-_.]+)>/gi, (match) => {... | fix: Small typo/regex issues | mattallty_Caporal.js | train |
ab15c01e0319254ff48c01e85d9c17daad7b6f9f | diff --git a/public/js/extux/ext.ux.relationpanel.js b/public/js/extux/ext.ux.relationpanel.js
index <HASH>..<HASH> 100755
--- a/public/js/extux/ext.ux.relationpanel.js
+++ b/public/js/extux/ext.ux.relationpanel.js
@@ -53,6 +53,16 @@ Ext.ux.RelationPanel = Ext.extend(Ext.Panel, {
*/
rule: null,
rule2: null,
+
+ ... | RelationPanel passes along bindingModel / bidirectional | grrr-amsterdam_garp3 | train |
fe04c0870a9e277fdd6ffe91d847f7f3b58dd713 | diff --git a/lib/baby_squeel/active_record/query_methods.rb b/lib/baby_squeel/active_record/query_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/baby_squeel/active_record/query_methods.rb
+++ b/lib/baby_squeel/active_record/query_methods.rb
@@ -29,18 +29,38 @@ module BabySqueel
having DSL.evaluate(self, &blo... | Activerecord <I> is really not work supporting :sigh: | rzane_baby_squeel | train |
51a37047c107ab962067ba243aa517c42bc367f1 | diff --git a/src/display/update_lines.js b/src/display/update_lines.js
index <HASH>..<HASH> 100644
--- a/src/display/update_lines.js
+++ b/src/display/update_lines.js
@@ -1,6 +1,6 @@
import { heightAtLine } from "../line/spans.js"
import { getLine, lineAtHeight, updateLineHeight } from "../line/utils_line.js"
-import... | Notice when lines are sticking out of the width of the editor
Issue #<I> | codemirror_CodeMirror | train |
060616ee386f6e5205c0a8d294d7f3d5865a3cc4 | diff --git a/acos_client/v30/nat.py b/acos_client/v30/nat.py
index <HASH>..<HASH> 100644
--- a/acos_client/v30/nat.py
+++ b/acos_client/v30/nat.py
@@ -12,8 +12,49 @@
# License for the specific language governing permissions and limitations
# under the License.
-import base
+import acos_client.errors as acos_e... | NAT pool class for AXAPI v3 has been implemented | a10networks_acos-client | train |
916efcd08c430e94bd467e6fa2d7f6a180c6754c | diff --git a/lib/app.js b/lib/app.js
index <HASH>..<HASH> 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -130,7 +130,8 @@ app.connect = function (callback) {
app.use(mount, express.static(path.join(app.set('root'), 'public')));
app.use(express.cookieParser(app.set('session secret')));
app.use(express.cookie... | Remove support for parsing multipart form content
This is causing errors when users create bins containing multipart forms
and submit them. The server attempts to parse them before they hit the
router layer. So now only json and url encoded data is supported. | jsbin_jsbin | train |
043354d6f86057a42e422084ecd585daa64eed6e | diff --git a/h2o-py/tests/testdir_algos/gbm/pyunit_gbm_monotone_tweedie.py b/h2o-py/tests/testdir_algos/gbm/pyunit_gbm_monotone_tweedie.py
index <HASH>..<HASH> 100644
--- a/h2o-py/tests/testdir_algos/gbm/pyunit_gbm_monotone_tweedie.py
+++ b/h2o-py/tests/testdir_algos/gbm/pyunit_gbm_monotone_tweedie.py
@@ -4,7 +4,7 @@ f... | R/Py tests: Don't rely on S3 for tests | h2oai_h2o-3 | train |
fc178515164e05099f618025c842abfa79313cad | diff --git a/DependencyInjection/MonologExtension.php b/DependencyInjection/MonologExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/MonologExtension.php
+++ b/DependencyInjection/MonologExtension.php
@@ -156,7 +156,7 @@ class MonologExtension extends Extension
$handler['publisher... | Randomize service ids of auto generated gelf publishers, fixes #<I> | symfony_monolog-bundle | train |
3a86fe210393a7dcb9a97d837e364ecc540a7aaf | diff --git a/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php b/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php
+++ b/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php
@@ -25,7 +25,7 @@ class TokenGeneratorTes... | [Tests] Update hash value expectation | bolt_bolt | train |
89803bdd2aa99803d16e81753ccdda7e61f0533a | diff --git a/librosa/core/audio.py b/librosa/core/audio.py
index <HASH>..<HASH> 100644
--- a/librosa/core/audio.py
+++ b/librosa/core/audio.py
@@ -147,7 +147,7 @@ def load(path, sr=22050, mono=True, offset=0.0, duration=None,
y = np.concatenate(y)
if n_channels > 1:
- y = y.reshape((-1, 2... | librosa/core/audio.py: fix for files with more than 2 channels | librosa_librosa | train |
e553a8b7db074005091dd8bc07e1dc18e258af3b | diff --git a/js/test/beautify-tests.js b/js/test/beautify-tests.js
index <HASH>..<HASH> 100755
--- a/js/test/beautify-tests.js
+++ b/js/test/beautify-tests.js
@@ -122,15 +122,6 @@ function run_beautifier_tests(test_obj, Urlencoded, js_beautify, html_beautify,
test_fragment(input, expectation);
}
- /... | Remove bt_braces function that is never used
looks very similar to what I plan to implement in my next commit | beautify-web_js-beautify | train |
f09a12ecfeba15e359d70ecbf6426fa272d1ff64 | diff --git a/manifest.go b/manifest.go
index <HASH>..<HASH> 100644
--- a/manifest.go
+++ b/manifest.go
@@ -2,11 +2,8 @@ package vsolver
// Manifest represents the data from a manifest file (or however the
// implementing tool chooses to store it) at a particular version that is
-// relevant to the satisfiability so... | Fix up comments for godoc formatting a bit | sdboyer_gps | train |
cc4456d6f1962f940594d8339540f3d8bd8389ff | diff --git a/cobe/commands.py b/cobe/commands.py
index <HASH>..<HASH> 100644
--- a/cobe/commands.py
+++ b/cobe/commands.py
@@ -97,6 +97,8 @@ class LearnIrcLogCommand:
subparser.add_argument("-o", "--only-nick", action="append",
dest="only_nicks",
... | Add a --reply-to flag to learn-irc-log for replaying history | pteichman_cobe | train |
8b872754de4fb492913305eb56d47319de9242e1 | diff --git a/source/org/jasig/portal/channels/CLayoutManager.java b/source/org/jasig/portal/channels/CLayoutManager.java
index <HASH>..<HASH> 100644
--- a/source/org/jasig/portal/channels/CLayoutManager.java
+++ b/source/org/jasig/portal/channels/CLayoutManager.java
@@ -47,8 +47,11 @@ import java.io.*;
* @author Ken ... | Updated version of CLayoutManager that operates on a copy of userLayout that
is taken from UserLayoutManager. Upon confirmation of changes, userLayout and
userPreferences are reset throuhg UserLayoutManager (as it should be done).
No more userLayout in the session!
git-svn-id: <URL> | Jasig_uPortal | train |
1f723f86470e6fa1594801b5d7eb6f05127bffc3 | diff --git a/amqplib/client_0_8/transport.py b/amqplib/client_0_8/transport.py
index <HASH>..<HASH> 100644
--- a/amqplib/client_0_8/transport.py
+++ b/amqplib/client_0_8/transport.py
@@ -68,7 +68,7 @@ class _AbstractTransport(object):
port = int(port)
self.sock = None
- for res in soc... | Fix Issue <I> relating to a minor problem some older versions of FreeBSD have with socket.getaddrinfo() | barryp_py-amqplib | train |
5feb63b0843a87cd654b07b3b043572996e36736 | diff --git a/app/src/Bolt/Extensions.php b/app/src/Bolt/Extensions.php
index <HASH>..<HASH> 100644
--- a/app/src/Bolt/Extensions.php
+++ b/app/src/Bolt/Extensions.php
@@ -144,7 +144,6 @@ class Extensions
$files = include $filepath;
foreach ($files as $file) {
try {
- ... | Remove errorCatcher() as we handle this at the Application object level | bolt_bolt | train |
bdb6ec1cb4067060a9647479ed21cfd3113b9f0e | diff --git a/ptest/config.py b/ptest/config.py
index <HASH>..<HASH> 100644
--- a/ptest/config.py
+++ b/ptest/config.py
@@ -90,9 +90,10 @@ def _parse_options(option_args):
parser.add_option("-r", "--reportdir", action="store", dest="report_dir", default="html-report", metavar="dir",
help="Spe... | The listener should be thread safe. | KarlGong_ptest | train |
8dd4ae824b340ccc48823a311383b6d280241cf4 | diff --git a/h2o-core/src/main/java/hex/ModelMetricsSupervised.java b/h2o-core/src/main/java/hex/ModelMetricsSupervised.java
index <HASH>..<HASH> 100755
--- a/h2o-core/src/main/java/hex/ModelMetricsSupervised.java
+++ b/h2o-core/src/main/java/hex/ModelMetricsSupervised.java
@@ -23,8 +23,7 @@ public class ModelMetricsSu... | Allow negative R^2 (again) - TODO: only show R^2 for linear models. | h2oai_h2o-3 | train |
4ba4dae757fea24342039132efd0f5253d6b81ff | diff --git a/pysat/instruments/sw_f107.py b/pysat/instruments/sw_f107.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/sw_f107.py
+++ b/pysat/instruments/sw_f107.py
@@ -383,8 +383,14 @@ def download(date_array, tag, sat_id, data_path, user=None, password=None):
if data.empty:
warning... | BUG: LASP file format change for sw_f<I> | rstoneback_pysat | train |
53ee6d899fac75c0d875d3f950846e7b83f3cb43 | diff --git a/src/Sulu/Bundle/TestBundle/Testing/SuluTestCase.php b/src/Sulu/Bundle/TestBundle/Testing/SuluTestCase.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/TestBundle/Testing/SuluTestCase.php
+++ b/src/Sulu/Bundle/TestBundle/Testing/SuluTestCase.php
@@ -63,6 +63,7 @@ abstract class SuluTestCase extends Bas... | .. and reenable foreign key checks after purging fixtures | sulu_sulu | train |
83217f02adc8eee695c874d0032ef14c940b52a5 | diff --git a/lib/collection/response.js b/lib/collection/response.js
index <HASH>..<HASH> 100644
--- a/lib/collection/response.js
+++ b/lib/collection/response.js
@@ -386,6 +386,17 @@ _.assign(Response, /** @lends Response */ {
_postman_propertyName: 'Response',
/**
+ * Check whether an object is an ins... | Added Response.isResponse | postmanlabs_postman-collection | train |
7d0bafbf927b59a985b24d26f95fbab1fa32cd68 | diff --git a/system/HTTP/Files/UploadedFile.php b/system/HTTP/Files/UploadedFile.php
index <HASH>..<HASH> 100644
--- a/system/HTTP/Files/UploadedFile.php
+++ b/system/HTTP/Files/UploadedFile.php
@@ -228,6 +228,28 @@ class UploadedFile implements UploadedFileInterface
//----------------------------------------------... | Adding getErrorString method to UploadedFile. | codeigniter4_CodeIgniter4 | train |
5032ada25c08ec800f50ae13d0e4b517197eab15 | diff --git a/c7n/resources/cw.py b/c7n/resources/cw.py
index <HASH>..<HASH> 100644
--- a/c7n/resources/cw.py
+++ b/c7n/resources/cw.py
@@ -99,6 +99,7 @@ class EventRuleTarget(ChildResourceManager):
type = 'event-rule-target'
enum_spec = ('list_targets_by_rule', 'Targets', None)
parent_spec = ... | resource metadata - add missing names and test to ensure (#<I>) | cloud-custodian_cloud-custodian | train |
fc144729950a41ba58b2242fe99775d7d644adeb | diff --git a/src/javascript/core/I18n.js b/src/javascript/core/I18n.js
index <HASH>..<HASH> 100644
--- a/src/javascript/core/I18n.js
+++ b/src/javascript/core/I18n.js
@@ -53,7 +53,7 @@ define("moxie/core/I18n", [
sprintf: function(str) {
var args = [].slice.call(arguments, 1), reStr = '';
- Basic.each(str.sp... | I<I>n: let sprintf() be used with any letter and not just [sdf].
There are nochecks inside anyway and this way it can be used with
original Plupload code. | moxiecode_moxie | train |
48cd745e437ec77280439a2d39b02b45b393d1a2 | diff --git a/pythran/passes.py b/pythran/passes.py
index <HASH>..<HASH> 100644
--- a/pythran/passes.py
+++ b/pythran/passes.py
@@ -340,6 +340,7 @@ class UnshadowParameters(ast.NodeVisitor):
self.argsid={ arg.id for arg in node.args.args }
self.renaming={}
[ self.visit(n) for n in node.body ]
... | Fix bug in variable shadowing.
Not all variables were translated, which led to wrong code generation. | serge-sans-paille_pythran | train |
11397183a437e5e0abddc66f29003115756fed1c | diff --git a/src/gl/shader_program.js b/src/gl/shader_program.js
index <HASH>..<HASH> 100644
--- a/src/gl/shader_program.js
+++ b/src/gl/shader_program.js
@@ -116,6 +116,8 @@ export default class ShaderProgram {
// Combine all blocks into one string
source = block.reduce((prev, cur) =>... | add start/end markers for shader blocks
helpful for later parsing out which blocks compile errors occurred in | tangrams_tangram | train |
404598faec3f1cb853da9e6284a90e0eff1e0696 | diff --git a/tornado/wsgi.py b/tornado/wsgi.py
index <HASH>..<HASH> 100644
--- a/tornado/wsgi.py
+++ b/tornado/wsgi.py
@@ -41,7 +41,7 @@ import typing
if typing.TYPE_CHECKING:
from typing import Type # noqa: F401
- from wsgiref.types import WSGIApplication as WSGIAppType # noqa: F401
+ from _typeshed.ws... | Import WSGI types from _typeshed.wsgi
wsgiref.types is a new module in Python <I>. Accordingly, typeshed's stubs were updated so that this module is only available from Python <I> onwards. But the typeshed-specific module _typeshed.wsgi (which is considered stable by typeshed) contains all the necessary definitions fo... | tornadoweb_tornado | train |
adff3796543ba3738984e9d95407ac3cbffc9389 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Change Log
-## Unreleased
+## 0.3.0
### Added
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -80,9 +80,9 @@ author = u'Nethe... | Update version number
Because version <I> was deleted from pypi, we use <I> | nlppln_nlppln | train |
849c12d15fe6fb5eeef86a619841b9b35908ca6e | diff --git a/lib/cb.rb b/lib/cb.rb
index <HASH>..<HASH> 100644
--- a/lib/cb.rb
+++ b/lib/cb.rb
@@ -4,6 +4,7 @@ Dir[File.dirname(__FILE__) + '/cb/clients/*.rb'].each {| file| require file }
Dir[File.dirname(__FILE__) + '/cb/criteria/*.rb'].each {| file| require file }
Dir[File.dirname(__FILE__) + '/cb/models/*.rb'].ea... | Moving require statement to cb.rb. | careerbuilder_ruby-cb-api | train |
b7659ede11968a15a1babead1b91bc8139d509db | diff --git a/spring-cloud-sleuth-stream/src/main/java/org/springframework/cloud/sleuth/stream/StreamEnvironmentPostProcessor.java b/spring-cloud-sleuth-stream/src/main/java/org/springframework/cloud/sleuth/stream/StreamEnvironmentPostProcessor.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-sleuth-stream/src/main/j... | Updated the stream header setting in env post processor
without this kafka needs to add headers manually in properties
with this change is not necessary
fixes #<I> | spring-cloud_spring-cloud-sleuth | train |
eaf20203997a144049afa700de1a4bc3a45513fa | diff --git a/scoop/_types.py b/scoop/_types.py
index <HASH>..<HASH> 100644
--- a/scoop/_types.py
+++ b/scoop/_types.py
@@ -186,7 +186,8 @@ class Future(object):
:returns: The exception raised by the call."""
return self.exceptionValue
- def add_done_callback(self, callable, inCallbackType=Callbac... | * Fixed misbehavior of callback addition when Future is already done or cancelled. | soravux_scoop | train |
0336e11878dff6303b0e7b3cda50182c576b10b2 | diff --git a/irc3/plugins/userlist.py b/irc3/plugins/userlist.py
index <HASH>..<HASH> 100644
--- a/irc3/plugins/userlist.py
+++ b/irc3/plugins/userlist.py
@@ -148,6 +148,7 @@ class Userlist:
channel.remove(nick)
clients.update(channel)
channel.add(new_nick)
+ de... | Duplicated nicks
avoid duplicated usage of nicknames | gawel_irc3 | train |
02dff5469b28f4bb08fbc503dec71f48ef5ec744 | diff --git a/backend_test.go b/backend_test.go
index <HASH>..<HASH> 100644
--- a/backend_test.go
+++ b/backend_test.go
@@ -16,23 +16,10 @@ package broker
import "testing"
-func TestMemoryBackendAuthentication(t *testing.T) {
- backend := NewMemoryBackend()
- backend.Logins = map[string]string{
- "allow": "allow",... | refactored to one backend test | 256dpi_gomqtt | train |
5113df123f01fc43a132a71fc109863ef328bb1a | diff --git a/docs/user/filters.rst b/docs/user/filters.rst
index <HASH>..<HASH> 100644
--- a/docs/user/filters.rst
+++ b/docs/user/filters.rst
@@ -34,6 +34,7 @@ Filter Objects
.. autoclass:: NegateFilter()
.. autoclass:: AddonActiveFilter()
.. autoclass:: AddonInstalledFilter()
+.. autoclass:: JexlFilter()
Filt... | Add JEXL filter object
This could be used by NDT to combine with other filter objects, so that we
can nest a JEXL filter inside a sticky or OR expression, without having to
bail out entirely. It also adds the ability to comment the reasons behind a
JEXL expression, and note any additional capabilities that may be need... | mozilla_normandy | train |
75551f7130cbad86e017bfbf049c36ff26cac65d | diff --git a/src/Browser.php b/src/Browser.php
index <HASH>..<HASH> 100644
--- a/src/Browser.php
+++ b/src/Browser.php
@@ -50,7 +50,6 @@ class Browser
*/
public static $supportsRemoteLogs = [
WebDriverBrowserType::CHROME,
- WebDriverBrowserType::SAFARI,
WebDriverBrowserType::PHANTOMJ... | Remove Safari from the browsers supporting remote logs | laravel_dusk | train |
8f487c558c472486d112ac00352e7bbfc204d25d | diff --git a/python/nano/src/bigdl/nano/pytorch/strategies/ddp_subprocess.py b/python/nano/src/bigdl/nano/pytorch/strategies/ddp_subprocess.py
index <HASH>..<HASH> 100644
--- a/python/nano/src/bigdl/nano/pytorch/strategies/ddp_subprocess.py
+++ b/python/nano/src/bigdl/nano/pytorch/strategies/ddp_subprocess.py
@@ -116,6... | fix the issue that child process can't inherit parent process's `sys.path` (#<I>)
* fix the bug that child process doesn't inherit parent process's `sys.path` when using subprocess strategy
* add a test covering this bug | intel-analytics_BigDL | train |
d0cdfb661f3b175df9e93663aa43881aa92e1897 | diff --git a/lib/mock.js b/lib/mock.js
index <HASH>..<HASH> 100644
--- a/lib/mock.js
+++ b/lib/mock.js
@@ -17,26 +17,21 @@ class Mock {
for(const idx in functionNames) {
const functionName = functionNames[idx];
this.originals[functionName] = object[functionName];
- object[functionName] = this.un... | Unifying unexpected and expected call callbacks | kcwiakala_jsmock | train |
cef603c45847def6dc5fa76646dd2da162e158e9 | diff --git a/lib/helpers.js b/lib/helpers.js
index <HASH>..<HASH> 100644
--- a/lib/helpers.js
+++ b/lib/helpers.js
@@ -219,6 +219,12 @@ module.exports.getUser = function(req, res, next) {
options.expand = options.expand.slice(0, -1);
}
+ // If there are no expansion options, we have to remove this key ... | Fixing issue with option expansions. | stormpath_express-stormpath | train |
69cbd1c0f2a192fe0d4fc2400a56a78870867e70 | diff --git a/src/config/config.php b/src/config/config.php
index <HASH>..<HASH> 100644
--- a/src/config/config.php
+++ b/src/config/config.php
@@ -114,13 +114,12 @@ return [
|
| Consumers of your API can be limited to the amount of requests they can
| make. You can create your own throttles or simply cha... | Remove default rate limiting throttles as a better default. Closes #<I>. | dingo_api | train |
fceaa86325bc0f3ce483626b7cab16e0d626a3c1 | diff --git a/go/saltpack/encrypt_test.go b/go/saltpack/encrypt_test.go
index <HASH>..<HASH> 100644
--- a/go/saltpack/encrypt_test.go
+++ b/go/saltpack/encrypt_test.go
@@ -276,6 +276,11 @@ func testRoundTrip(t *testing.T, msg []byte, receivers []BoxPublicKey, opts *opt
}
}
+func TestEmptyEncryptionOneReceiver(t *te... | add a test for the no-write empty message case | keybase_client | train |
33918460f689e964add72b2e440c783557053541 | diff --git a/tests/suites/tests.js b/tests/suites/tests.js
index <HASH>..<HASH> 100644
--- a/tests/suites/tests.js
+++ b/tests/suites/tests.js
@@ -2,13 +2,13 @@ if (this.window == null) io = require('../../node_modules/socket.io/node_modules
exports.setup = function(tests){
- // require('./client.connect').setup(t... | reenable all tests (wip async tests currently interfere) | thisconnect_planet | train |
364f7fece85aa2ce8d99702ff7004c761cd661d7 | diff --git a/cilium/cmd/cleanup.go b/cilium/cmd/cleanup.go
index <HASH>..<HASH> 100644
--- a/cilium/cmd/cleanup.go
+++ b/cilium/cmd/cleanup.go
@@ -76,7 +76,7 @@ func runCleanup() {
// errors seen, but continue. So that one remove function does not
// prevent the remaining from running.
type cleanupFunc func() er... | cilium: Do not unmount BPF filesystem on cleanup
It does not seem wise to unmount the BPF filesystem on manual cleanup, it may
be in use by other components. | cilium_cilium | train |
83cf53d36f834de68cd3cb3363fbf68cffa63a68 | diff --git a/lib/cramp.rb b/lib/cramp.rb
index <HASH>..<HASH> 100644
--- a/lib/cramp.rb
+++ b/lib/cramp.rb
@@ -2,7 +2,9 @@ require 'eventmachine'
EM.epoll
require 'active_support'
-require 'active_support/core_ext'
+require 'active_support/core_ext/class/inheritable_attributes'
+require 'active_support/core_ext/cla... | Dont require entire as/core_ext. Cherry pick instead. | lifo_cramp | train |
50d9daab83c57f02d0d4892daa7d7fc94125bead | diff --git a/enforcer.go b/enforcer.go
index <HASH>..<HASH> 100644
--- a/enforcer.go
+++ b/enforcer.go
@@ -624,7 +624,7 @@ func (e *Enforcer) enforce(matcher string, explains *[]string, rvals ...interfac
// break
//}
- effect, explainIndex, err = e.eft.MergeEffects(e.model["e"][eType].Value, policyEffects[:... | perf: Remove unnecessary slices in enforce() (#<I>) | casbin_casbin | train |
96b0e870e18ee4aaff7a2d49c610c878bc0762a8 | diff --git a/src/Google2FA.php b/src/Google2FA.php
index <HASH>..<HASH> 100644
--- a/src/Google2FA.php
+++ b/src/Google2FA.php
@@ -245,7 +245,7 @@ class Google2FA extends Google2FAService
*/
protected function updateCurrentAuthTime()
{
- $this->sessionPut(Constants::SESSION_AUTH_TIME, Carbon::now... | Use simply string to store in session instead of an object | antonioribeiro_google2fa-laravel | train |
bf9faf7d311568b960006f114eb1d218650c4a6f | diff --git a/ISO4217Test.php b/ISO4217Test.php
index <HASH>..<HASH> 100644
--- a/ISO4217Test.php
+++ b/ISO4217Test.php
@@ -136,6 +136,8 @@ class ISO4217Test extends TestCase
}
/**
+ * @param string $indexedBy
+ *
* @return array
*/
private function getCurrencies(string $indexedBy): ... | Update docblock of getCurrencies method | alcohol_iso4217 | train |
aa37ccf725502ebade4d4129e2a43dcb4e59fee1 | diff --git a/astrobase/varbase/lcfit.py b/astrobase/varbase/lcfit.py
index <HASH>..<HASH> 100644
--- a/astrobase/varbase/lcfit.py
+++ b/astrobase/varbase/lcfit.py
@@ -1102,11 +1102,11 @@ def traptransit_fit_magseries(times, mags, errs,
# next, check the transitdepth and fix it to the form required
if magsaref... | lcfit/traptransit_fit_magseries: caught bug
transitdepth is float | waqasbhatti_astrobase | train |
4a12fe526a8ea51b1e6630e7f3ffca7bc4b743bd | diff --git a/solver/llbsolver/file/backend.go b/solver/llbsolver/file/backend.go
index <HASH>..<HASH> 100644
--- a/solver/llbsolver/file/backend.go
+++ b/solver/llbsolver/file/backend.go
@@ -10,6 +10,7 @@ import (
"time"
"github.com/containerd/continuity/fs"
+ "github.com/docker/docker/pkg/idtools"
"github.com/... | fileop: userns support | moby_buildkit | train |
f8a8a8d31f8364845b59eeb61462626de2b166d6 | diff --git a/tests/integration/video.spec.js b/tests/integration/video.spec.js
index <HASH>..<HASH> 100644
--- a/tests/integration/video.spec.js
+++ b/tests/integration/video.spec.js
@@ -55,7 +55,7 @@ describe('video', function () {
expect(response).to.be.an('object').and.to.not.be.empty;
});
});
- it('... | fixing that twitch test for real this time | jshemas_openGraphScraper | train |
4611d96f98d353c67b7db735b3ce1a0db8d4f318 | diff --git a/great_expectations/data_context/data_context.py b/great_expectations/data_context/data_context.py
index <HASH>..<HASH> 100644
--- a/great_expectations/data_context/data_context.py
+++ b/great_expectations/data_context/data_context.py
@@ -736,7 +736,7 @@ class ConfigOnlyDataContext(object):
if in... | Pass name to datasource constructor when built from DataContext | great-expectations_great_expectations | train |
34646f709b91b306c3a860179ab5cf70a7184980 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -1263,3 +1263,39 @@ test('store zero instruction', (t) => {
t.end();
});
+
+test('store zero addressing modes', (t) => {
+ const cpu = CPU();
+ let lines = [
+ 'STZ -90',
+ 'LDX #-40',
+ 'STZ -40,X', // -80
+ ... | Add test for all STZ addressing modes: absolute, absolute,X, absolute,Y, and (indirect),Y | thirdcoder_cpu3502 | train |
066dd0a2785778b4cd52c04106279d86ffa61ffd | diff --git a/safe/impact_functions/inundation/flood_polygon_roads/impact_function.py b/safe/impact_functions/inundation/flood_polygon_roads/impact_function.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/inundation/flood_polygon_roads/impact_function.py
+++ b/safe/impact_functions/inundation/flood_polygon_ro... | Add impact data for FloodPolygonRoadsFunction. | inasafe_inasafe | train |
6ece9e2a4ff66324b27b691c32e9890abdb2cb88 | diff --git a/lxd/storage/storage.go b/lxd/storage/storage.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/storage.go
+++ b/lxd/storage/storage.go
@@ -184,7 +184,12 @@ func UsedBy(ctx context.Context, s *state.State, pool Pool, firstOnly bool, memb
}
// Get all buckets using the storage pool.
- buckets, err :=... | lxd/storage/storage: tx.GetStoragePoolBuckets usage | lxc_lxd | train |
238716a4805898feb3729b861484d856acc06f36 | diff --git a/test/youch.spec.js b/test/youch.spec.js
index <HASH>..<HASH> 100644
--- a/test/youch.spec.js
+++ b/test/youch.spec.js
@@ -71,7 +71,7 @@ describe('Youch', () => {
const youch = new Youch(error, {})
const frame = {
isNative: () => false,
- getFileName: () => './node_modules/hello.js'
+... | test(windows): update test for windows | poppinss_youch | train |
c46514c5fa9f3bd6c7220d6c72167d12330ee5d4 | diff --git a/src/main/java/com/microsoft/aad/adal4j/HttpHelper.java b/src/main/java/com/microsoft/aad/adal4j/HttpHelper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/microsoft/aad/adal4j/HttpHelper.java
+++ b/src/main/java/com/microsoft/aad/adal4j/HttpHelper.java
@@ -21,11 +21,8 @@ package com.microsoft.aad.... | log details about non <I> http responses | AzureAD_azure-activedirectory-library-for-java | train |
0fe9d16d3f6e62f09d7fa9494dbc3d95961a5ea9 | diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Property/TypeConverter/PersistentObjectConverter.php b/TYPO3.Flow/Classes/TYPO3/Flow/Property/TypeConverter/PersistentObjectConverter.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/TYPO3/Flow/Property/TypeConverter/PersistentObjectConverter.php
+++ b/TYPO3.Flow/Class... | ReflectionService in tests returns null for isClassAnnotatedWith and hence would fail with trying to instanciate a non-existing class. | neos_flow-development-collection | train |
939034dae1ff44a7d2805d5cc4f084e206f1d8c8 | diff --git a/pymatgen/entries/compatibility.py b/pymatgen/entries/compatibility.py
index <HASH>..<HASH> 100644
--- a/pymatgen/entries/compatibility.py
+++ b/pymatgen/entries/compatibility.py
@@ -174,7 +174,7 @@ class PotcarCorrection(Correction):
@cached_class
class MITGasCorrection(Correction):
"""
- Correct... | fix linting errors and remove unneeded lines | materialsproject_pymatgen | train |
8360b40fbc3a018d0cdd216166691769160cbb91 | diff --git a/client/my-sites/plugins/access-control.js b/client/my-sites/plugins/access-control.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/plugins/access-control.js
+++ b/client/my-sites/plugins/access-control.js
@@ -23,7 +23,15 @@ function hasRestrictedAccess( site ) {
site = site || sites.getSelectedSit... | Plugins: don't display under version warning if user doesn't have needed capabilities | Automattic_wp-calypso | train |
d112c7db590bfb9f8b9efa67bd8ce03b7abca2f8 | diff --git a/kafka_scanner/__init__.py b/kafka_scanner/__init__.py
index <HASH>..<HASH> 100644
--- a/kafka_scanner/__init__.py
+++ b/kafka_scanner/__init__.py
@@ -551,6 +551,11 @@ class KafkaScannerSimple(KafkaScanner):
"""
@retry(wait_fixed=60000, retry_on_exception=retry_on_exception)
def _create_scan_... | add workaround for kafka MPC with default socket timeout in earlier CPython | scrapinghub_kafka-scanner | train |
95b1a23bacb745d86f188d9db99b3f5870cdb818 | diff --git a/cumulusci/tasks/util.py b/cumulusci/tasks/util.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/util.py
+++ b/cumulusci/tasks/util.py
@@ -6,7 +6,7 @@ from xml.dom.minidom import parse
from cumulusci.core.tasks import BaseTask
from cumulusci.utils import download_extract_zip, findReplace, findReplac... | allow FindReplace task to accept a list of file_patterns | SFDO-Tooling_CumulusCI | train |
3fc162e215f0820b394c6a79cc152c2c5e46c9e8 | diff --git a/src/sagemaker/pytorch/estimator.py b/src/sagemaker/pytorch/estimator.py
index <HASH>..<HASH> 100644
--- a/src/sagemaker/pytorch/estimator.py
+++ b/src/sagemaker/pytorch/estimator.py
@@ -1,4 +1,4 @@
-# Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# Copyright 2018-2020 Amazon... | fix: make PyTorch empty framework_version warning include the latest PyTorch version (#<I>) | aws_sagemaker-python-sdk | train |
27bd7b5a07f24a7b65c0c1df1f0461c4f9bab257 | diff --git a/lib/bud.rb b/lib/bud.rb
index <HASH>..<HASH> 100644
--- a/lib/bud.rb
+++ b/lib/bud.rb
@@ -445,7 +445,6 @@ module Bud
rescan << elem
end
end
- #prune_rescan_invalidate(rescan, invalidate)
@default_rescan = rescan.to_a
@default_invalidate = invalidate.to_a
... | Tweak rescan logic.
We don't need to include a scanner in its own rescan_set -- the rescan set is
only used when the scanner is already marked for rescan. | bloom-lang_bud | train |
05ab4d3d092af2e11ebad57a99fc68c86a1a7406 | diff --git a/components/console/src/main/java/org/openengsb/core/console/internal/ServiceCommands.java b/components/console/src/main/java/org/openengsb/core/console/internal/ServiceCommands.java
index <HASH>..<HASH> 100644
--- a/components/console/src/main/java/org/openengsb/core/console/internal/ServiceCommands.java
+... | [OPENENGSB-<I>] fixed minor bugs | openengsb_openengsb | train |
c2fd5b47bef6d5421cb07680090f2fc39fc34b65 | diff --git a/gan_node_html.php b/gan_node_html.php
index <HASH>..<HASH> 100644
--- a/gan_node_html.php
+++ b/gan_node_html.php
@@ -12,6 +12,7 @@ namespace pQuery;
/**
* Holds (x)html/xml tag information like tag name, attributes,
* parent, children, self close, etc.
+ *
*/
class DomNode implements IQuery {... | Update code documentation to indicate that null is allowed. | tburry_pquery | train |
16006037faf380a1b34b5bb594213353189717bb | diff --git a/test/com/opera/core/systems/MouseTest.java b/test/com/opera/core/systems/MouseTest.java
index <HASH>..<HASH> 100644
--- a/test/com/opera/core/systems/MouseTest.java
+++ b/test/com/opera/core/systems/MouseTest.java
@@ -123,7 +123,7 @@ public class MouseTest extends OperaDriverTestCase {
}
@Test
- @... | Explaining why double-click test is ignored | operasoftware_operaprestodriver | train |
39c9c45f64a79b63ef260921b2bc56c69ce76c8c | diff --git a/HISTORY.rst b/HISTORY.rst
index <HASH>..<HASH> 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,11 @@
Changelog
---------
+0.5.1 (2014-01-19)
+++++++++++++++++++
+
+* Avoid unnecessary attribute access in `utils.to_marshallable_type` for improved performance.
+
0.5.0 (2013-12-29)
+++++++++++++++... | Prevent unnecessary attribute access
Issue #<I> | marshmallow-code_marshmallow | train |
388537e882f2149d651ebea68f3cc4cc031865db | diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.java
index <HASH>..<HASH> 100644
--- a/springfox-spring-web/src/main/java/spri... | Use the request handler combiner in the bootstrapper
(<I>) | springfox_springfox | train |
dae2297e7b55157b8982294e5b5f823397d84bd4 | diff --git a/pyphi/models/cuts.py b/pyphi/models/cuts.py
index <HASH>..<HASH> 100644
--- a/pyphi/models/cuts.py
+++ b/pyphi/models/cuts.py
@@ -125,7 +125,7 @@ class NullCut(_CutBase):
return hash(('NullCut', self.indices))
-class Cut(namedtuple('Cut', ['from_nodes', 'to_nodes']), _CutBase):
+class Cut(_Cut... | Rewrite `Cut` as an object, not `namedtuple` | wmayner_pyphi | train |
14bf55ce62bdd04de12541b47f2564dbd40878f9 | diff --git a/packages/ember-runtime/lib/system/core_object.js b/packages/ember-runtime/lib/system/core_object.js
index <HASH>..<HASH> 100644
--- a/packages/ember-runtime/lib/system/core_object.js
+++ b/packages/ember-runtime/lib/system/core_object.js
@@ -209,7 +209,8 @@ var ClassMixin = Ember.Mixin.create({
This w... | metaForProperty should fail gracefully
If no metadata has been set for a computed property,
metaForProperty should return an empty hash. | emberjs_ember.js | train |
1fe7991282bfa24486cedd0bf8e74eb6f7bed7c8 | diff --git a/spec/lib/profile_spec.rb b/spec/lib/profile_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/profile_spec.rb
+++ b/spec/lib/profile_spec.rb
@@ -1,5 +1,5 @@
require "spec_helper"
-require "profile"
+require "your_membership/profile"
describe YourMembership::Profile do
before do | Fix NameError: uninitialized constant YourMembership::Profile | ECHOInternational_your_membership | train |
896c1d32f657d07c875fa8cad3047724888ed2f4 | diff --git a/recipe-server/client/control/tests/components/extensions/test_ExtensionSelect.js b/recipe-server/client/control/tests/components/extensions/test_ExtensionSelect.js
index <HASH>..<HASH> 100644
--- a/recipe-server/client/control/tests/components/extensions/test_ExtensionSelect.js
+++ b/recipe-server/client/c... | Test for Select's onChange | mozilla_normandy | train |
4c5a08cae71386ffb34d89bb83b87ff7ebfa1bd3 | diff --git a/builtin/providers/aws/resource_aws_db_instance_test.go b/builtin/providers/aws/resource_aws_db_instance_test.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/resource_aws_db_instance_test.go
+++ b/builtin/providers/aws/resource_aws_db_instance_test.go
@@ -1106,7 +1106,7 @@ resource "aws_db_instan... | fix fat-fingered change in test | hashicorp_terraform | train |
fa3c649b10610216e44a1ba5eb7cb9b60a81c237 | diff --git a/dolo/symbolic/recipes.py b/dolo/symbolic/recipes.py
index <HASH>..<HASH> 100644
--- a/dolo/symbolic/recipes.py
+++ b/dolo/symbolic/recipes.py
@@ -6,106 +6,10 @@ ideas :
- dummy blocks that are basically substituted everywhere else
'''
+import os, yaml
+this_dir, this_filename = os.path.split(__file__... | Moved recipes in a yaml file. | EconForge_dolo | train |
d8df8bf78b5ad70b4dde63711b05d6a14632ac6d | diff --git a/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js b/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js
+++ b/openstack_dashboard/static/app/core/metadata/modal/m... | Add message for a result of update metadata
At the moment, even when a user update a metadata, this result is
not informed to a user (any message is not displayed).
So a user cannot know its result and he has to redisplay
'Update Metadata' modal in order to know its result.
Change-Id: I<I>b1a3c<I>d<I>d<I>d<I>b<I>d<I>... | openstack_horizon | train |
d994571e1c2b63033c1053772868e9f92a8c3980 | diff --git a/config/routes.rb b/config/routes.rb
index <HASH>..<HASH> 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,4 +1,5 @@
Rails.application.routes.draw do
+ next if has_named_route?('ahoy_email_engine')
mount AhoyEmail::Engine => "/ahoy"
end | Support manually-mounted AhoyEmail engine | ankane_ahoy_email | train |
1596a933eb5e856b96193e5e25b908cdc25ceda6 | diff --git a/lib/connection-parameters.js b/lib/connection-parameters.js
index <HASH>..<HASH> 100644
--- a/lib/connection-parameters.js
+++ b/lib/connection-parameters.js
@@ -47,7 +47,7 @@ var ConnectionParameters = function(config) {
this.host = val('host', config);
this.password = val('password', config);
th... | Fix SSL configuration error and add tests. #<I> (#<I>) | brianc_node-postgres | train |
03f9cf935b6987bb04b848f1c342c8ac8476194b | diff --git a/src/TestSuite/IntegrationTestCase.php b/src/TestSuite/IntegrationTestCase.php
index <HASH>..<HASH> 100644
--- a/src/TestSuite/IntegrationTestCase.php
+++ b/src/TestSuite/IntegrationTestCase.php
@@ -494,30 +494,6 @@ class IntegrationTestCase extends TestCase {
}
/**
- * Assert that a flash message was ... | Remove assertFlash()
A few people have voiced concerns that it will feel unreliable as the
rendered view will not have flash messages to assert against. I would
rather we have fewer more stable asserts and avoid confusing/problematic
methods entirely. | cakephp_cakephp | train |
7309e3c0814079ba6a05c313b4e1234d8a3cda85 | diff --git a/Krexx.php b/Krexx.php
index <HASH>..<HASH> 100644
--- a/Krexx.php
+++ b/Krexx.php
@@ -148,7 +148,7 @@ class Krexx
{
self::$storage->controller->noFatalForKrexx();
// Disabled?
- if (!self::$storage->config->getEnabled()) {
+ if (self::$storage->config->getDisabled()) {
... | Streamlined the enabled/disabled setter/getter | brainworxx_kreXX | train |
20a51bdd8839ce52dd7ce1de7cf548ae2fa7e95f | diff --git a/src/CLImate.php b/src/CLImate.php
index <HASH>..<HASH> 100644
--- a/src/CLImate.php
+++ b/src/CLImate.php
@@ -199,6 +199,30 @@ class CLImate
}
/**
+ * Build up the terminal object and return it
+ *
+ * @param string $name
+ * @param arguments $arguments
+ * @return object|nu... | split terminal object logic out of __call | thephpleague_climate | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.